[9] RFR (xs) 8168317: [JVMCI] use reflection instead of jdk 9 Module API in Services.java

Christian Thalinger cthalinger at twitter.com
Wed Oct 19 19:47:37 UTC 2016

> On Oct 19, 2016, at 9:40 AM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:
> https://bugs.openjdk.java.net/browse/JDK-8168317
> webrev:
> http://cr.openjdk.java.net/~kvn/8168317/webrev/
> When Graal is built as part of JDK it requires first to build an annotation processor using boot jdk 8.
> After JDK-8167180 changes Services class is referenced by annotation processor but the code is using jdk 9 Module API and it can't be used with jdk 8.

I left a comment in the bug: Permalink <https://bugs.openjdk.java.net/browse/JDK-8168317?focusedCommentId=14013733&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14013733>

Basically, it should be possible to use the newly built javac to compile the annotation processors.  Erik?

Can you paste or upload the .gmk file?

> Use reflection instead of Module API and use code only for running with jdk 9.
> Testing with JPRT and JDK build of Graal.
> Thanks,
> Vladimir

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20161019/cbfade5e/attachment.html>

More information about the hotspot-compiler-dev mailing list