8239965: XMLEncoder/Test4625418.java fails due to "Error: Cp943 - can't read properly"

Cp943 and x-IBM943 should skip on XMLEncoder/Test4625418.java

Reviewed-by: sgehwolf
Backport-of: 24e646317651436e07dd133b154d9e812cf90aae
This commit is contained in:
Pratiksha.Sawant 2024-05-22 13:13:23 +00:00 committed by Severin Gehwolf
parent ab408debf4
commit 7bcaeb5ff1

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2006, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -23,7 +23,7 @@
/* /*
* @test * @test
* @bug 4625418 * @bug 4625418 8239965
* @summary Tests XML <a href="http://download.java.net/jdk6/docs/technotes/guides/intl/encoding.doc.html">encoding</a> * @summary Tests XML <a href="http://download.java.net/jdk6/docs/technotes/guides/intl/encoding.doc.html">encoding</a>
* @author Sergey Malenkov * @author Sergey Malenkov
* @run main/timeout=360 Test4625418 * @run main/timeout=360 Test4625418
@ -126,7 +126,7 @@ public final class Test4625418 implements ExceptionListener {
//"Cp939", //"Cp939",
//"Cp942", //"Cp942",
//"Cp942C", //"Cp942C",
"Cp943", //"Cp943",
//"Cp943C", //"Cp943C",
"Cp948", "Cp948",
"Cp949", "Cp949",
@ -307,7 +307,7 @@ public final class Test4625418 implements ExceptionListener {
//"x-IBM939", //"x-IBM939",
//"x-IBM942", //"x-IBM942",
//"x-IBM942C", //"x-IBM942C",
"x-IBM943", //"x-IBM943",
//"x-IBM943C", //"x-IBM943C",
"x-IBM948", "x-IBM948",
"x-IBM949", "x-IBM949",