JavaxToolsCompiler

Alan Bateman Alan.Bateman at oracle.com
Mon Sep 14 19:44:14 UTC 2015



On 14/09/2015 20:21, Stuart McCulloch wrote:
> Yes, the issue is that ToolProvider.getSystemJavaCompiler() is returning null when using the Jigsaw EA with Maven.
>
> AFAICT this is because it’s now using the service loader mechanism which is influenced by the Thread’s context ClassLoader
>
>
That may be a bug as I wouldn't expect the ToolProvider.getSystemXXX 
methods to locate the these tools via the TCCL.

-Alan.


More information about the jigsaw-dev mailing list