You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2021/02/27 22:10:53 UTC
[GitHub] [netbeans] jlahoda opened a new pull request #2784: Register JDKPlatformProvider when creating javac in ant's ClassLoader.
jlahoda opened a new pull request #2784:
URL: https://github.com/apache/netbeans/pull/2784
As noted here:
https://github.com/apache/netbeans/pull/2761#issuecomment-787094888
When compiling using `ant` inside the IDE, `--release` does not work properly. The reason is that `javac` for the compilation is load using a (somewhat weird) ClassLoader magic, and is missing the registration for `JDKPlatformProvider`. The registration is normally in module-info, but the ClassLoader magic load javac in an unnamed module, and that requires META-INF/services registration.
The proposed patch here is only to inject the registration. Eventually, we may want to try a simpler way to use `javac` from `ant` while running inside the IDE.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] JaroslavTulach merged pull request #2784: Register JDKPlatformProvider when creating javac in ant's ClassLoader.
Posted by GitBox <gi...@apache.org>.
JaroslavTulach merged pull request #2784:
URL: https://github.com/apache/netbeans/pull/2784
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists