RFR [JDK8]: 7169894: JAXP Plugability Layer: using service loader (original) (raw)
Joe Wang huizhe.wang at oracle.com
Thu Jun 21 08:32:28 UTC 2012
- Previous message: RFR [JDK8]: 7169894: JAXP Plugability Layer: using service loader
- Next message: RFR [JDK8]: 7169894: JAXP Plugability Layer: using service loader
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
jaxp tck passed.
Joe
On 6/21/2012 12:55 AM, Joe Wang wrote:
Hi,
This is a patch to replace the manual process in the 3rd step of the JAXP implementation resolution mechanism with ServiceLoader. Please see http://bugs.sun.com/bugdatabase/viewbug.do?bugid=7169894 for more details about the issue. Note that FactoryFinder is duplicated for each JAXP subpackage. The ones in the following packages are the same: /jaxp-api/src/javax/xml/datatype/FactoryFinder.java /jaxp-api/src/javax/xml/parsers/FactoryFinder.java /jaxp-api/src/javax/xml/stream/FactoryFinder.java /jaxp-api/src/javax/xml/transform/FactoryFinder.java The following two are similar except that they perform Schema Language or Object Model support check: /jaxp-api/src/javax/xml/validation/SchemaFactoryFinder.java /jaxp-api/src/javax/xml/xpath/XPathFactoryFinder.java It's a bit rush since I have only had time to test regular JDK using JDK 1.6.027. Further test on jigsaw is needed. All jaxp unit/SQE tests are passed. But TCK test is still running. So please take this as an initial review. webrev: http://cr.openjdk.java.net/~joehw/jdk8/7169894/webrev/ Thanks, Joe
- Previous message: RFR [JDK8]: 7169894: JAXP Plugability Layer: using service loader
- Next message: RFR [JDK8]: 7169894: JAXP Plugability Layer: using service loader
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]