I can confirm the fix.

thanks!

Robert

Op Wed, 16 Sep 2015 12:27:11 +0200 schreef Alan Bateman <alan.bate...@oracle.com>:


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

The following patch to make sure Maven uses the system context when looking up the compiler appears to solve the issue:


Just to follow-up on this one, the bug in ToolProvider has been fixed in the jigsaw/jake forest. We should have an updated EA build in the next day or two that will pick up this fix.

Thanks again for the mails on this, it's good to have found this one early.

-Alan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to