jigsaw now sync'ed with jdk8-b23
mandy.chung at oracle.com
Tue Jan 31 15:49:02 PST 2012
On 1/31/2012 2:07 PM, Ludovic HOCHET wrote:
> I tried building the latest source, but I'm having the following when
> trying to launch jconsole:
Thanks for reporting it.
> ludovic at jigsaw-vm:~/dev/jigsaw$ export
> ludovic at jigsaw-vm:~/dev/jigsaw$ $JIG/bin/java -m jdk.jconsole
> Exception in thread "main" java.util.ServiceConfigurationError:
> sun.java2d.pipe.RenderingEngine: Provider
> sun.java2d.jules.JulesRenderingEngine not found
This depends on the services support that Alan is working on . The
service loader is not yet module-aware. Prior to the module views and
exports change, all public types including
sun.java2d.jules.JulesRenderingEngine are exported and that's why it was
sun.java2d.pipe.RenderingEngine calls ServiceLoader.loadInstalled method
to create a new service loader using the extension class loader. In
module mode, there isn't any extension class loader but instead it
should use the caller's module loader.
Alan, what do you think to integrate the change you have in the
ServiceLoader class that uses the proper module loader in module mode
first? I think that can be separated from the services work.
More information about the jigsaw-dev