JDK support for VM to read classes from modules in a module library
Paul Sandoz
paul.sandoz at oracle.com
Thu May 17 01:01:17 PDT 2012
+1 on using services rather than reflection (+ special proxy in the Properties class). It makes it much clearer what the dependencies are.
For backwards compatibility in classpath mode we should leave XMLUtils alone and use a new service class like sun.util.xml.PropertiesXMLUtils as shown by Yarda. Also in classpath mode we probably don't want to introduce a new "public" [*] extension point, so we should just use the default provider (or explicitly XMLUtils, as is the case today)
On May 16, 2012, at 11:48 PM, Jesse Glick wrote:
<snip>
> module sun.jaxp.bridge.impl {
> requires jdk.jaxp; // or its vendor substitute
Or use java.jaxp where jdk.jaxp will declare:
provides java.jaxp
Paul.
[*] no one depends on sun.misc right? :-)
More information about the jigsaw-dev
mailing list