Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can the OpenJDK 9 support? #48

Closed
hsienfu opened this issue Apr 10, 2018 · 1 comment
Closed

How can the OpenJDK 9 support? #48

hsienfu opened this issue Apr 10, 2018 · 1 comment

Comments

@hsienfu
Copy link

hsienfu commented Apr 10, 2018

I used java-9-openjdk-amd64, the OpenJDK 8 is ok.

java.lang.IllegalAccessError: class meghanada.analyze.TreeAnalyzer (in unnamed module @0x20b12f8a)
cannot access class com.sun.tools.javac.tree.JCTree$JCCompilationUnit (in module jdk.compiler) 
because module jdk.compiler does not export com.sun.tools.javac.tree to unnamed module @0x20b12f8a
        at meghanada.analyze.TreeAnalyzer.analyzeCompilationUnitTree(TreeAnalyzer.java:443) ~[meghanada-1.0.0.jar:?]
        at meghanada.analyze.TreeAnalyzer.analyzeUnit(TreeAnalyzer.java:511) ~[meghanada-1.0.0.jar:?]
        at meghanada.analyze.TreeAnalyzer.tryAnalyzeUnit(TreeAnalyzer.java:491) ~[meghanada-1.0.0.jar:?]
        at meghanada.analyze.TreeAnalyzer.lambda$analyze$5(TreeAnalyzer.java:481) ~[meghanada-1.0.0.jar:?]
        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:?]
...
@hsienfu hsienfu changed the title How can the OpenJDK support? How can the OpenJDK 9 support? Apr 11, 2018
@mopemope
Copy link
Owner

@hsienfu I have fixed it. Please check latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants