-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b21
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8289048 | 11.0.17 | Matthias Baesken | P4 | Resolved | Fixed | b01 |
Negative tests in CatalogSupport2 and CatalogSupport3 expect Exceptions, but when they failed, they produced misleading messages such as the following:
test catalog.CatalogSupport2.testDOMC(false, true, "file:///C:/ade/mesos/work_dir/jib-master/install/jdk12-jdk.406/src.full/open/test/jaxp/javax/xml/jaxp/unittest/catalog/CatalogSupport.xml", "C:/ade/mesos/work_dir/jib-master/install/jdk12-jdk.406/src.full/open/test/jaxp/javax/xml/jaxp/unittest/catalog/system.xml", catalog.CatalogSupportBase$MyHandler@7ce3e5a6, "Test system entry"): failure
java.lang.AssertionError: expected [Test system entry] but found [Test entry]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
test catalog.CatalogSupport2.testDOMC(false, true, "file:///C:/ade/mesos/work_dir/jib-master/install/jdk12-jdk.406/src.full/open/test/jaxp/javax/xml/jaxp/unittest/catalog/CatalogSupport.xml", "C:/ade/mesos/work_dir/jib-master/install/jdk12-jdk.406/src.full/open/test/jaxp/javax/xml/jaxp/unittest/catalog/system.xml", catalog.CatalogSupportBase$MyHandler@7ce3e5a6, "Test system entry"): failure
java.lang.AssertionError: expected [Test system entry] but found [Test entry]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertEquals(Assert.java:125)
- backported by
-
JDK-8289048 JAXP Tests: CatalogSupport2 and CatalogSupport3 generate incorrect messages upon failure
-
- Resolved
-
- duplicates
-
JDK-8210720 javax/xml/jaxp/unittest/catalog/CatalogSupport2.java and CatalogSupport3.java are failing in JDK12 CI
-
- Closed
-
- relates to
-
JDK-8210720 javax/xml/jaxp/unittest/catalog/CatalogSupport2.java and CatalogSupport3.java are failing in JDK12 CI
-
- Closed
-