RFR JDK 9 (JAXP) 8151162: Public entries not searched when prefer='system'

huizhe wang huizhe.wang at oracle.com
Fri Apr 8 20:49:23 UTC 2016


Please review a fix for the issue that caused public entries not being 
searched when prefer='system'. When prefer='system', the Catalog 
standard only required that public entries were not searched if there is 
a system identifier.

I added tests to reflect a combination of the settings of prefer, 
identifier(s), and entry types (public and/or system). The test 
"matchWithPrefer" covered the three test cases in the JCK mentioned in 
the bug report plus 9 other scenarios, while "resolveWithPrefer" covered 
18 resolution scenarios by a CatalogResolver.

JBS: https://bugs.openjdk.java.net/browse/JDK-8151162
Webrev: http://cr.openjdk.java.net/~joehw/jdk9/8151162/webrev/


More information about the core-libs-dev mailing list