-
Notifications
You must be signed in to change notification settings - Fork 889
Closed
Description
It seems that Java 17 (next LTS) will have stricter access requirements
https://openjdk.java.net/jeps/403
I tried to run this tool and noticed this error:
Caused by: java.lang.IllegalAccessError: class com.google.googlejavaformat.java.RemoveUnusedImports (in unnamed module @0x5c25324c) cannot access class com.sun.tools.javac.util.Context (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.util to unnamed module @0x5c25324c
at com.google.googlejavaformat.java.RemoveUnusedImports.removeUnusedImports(RemoveUnusedImports.java:188)
jbduncan, iemejia, sureshg, joseboretto and henry701
Metadata
Metadata
Assignees
Labels
No labels