rmuir commented on a change in pull request #18:
URL: https://github.com/apache/lucene/pull/18#discussion_r594153728
##########
File path: gradle/validation/error-prone.gradle
##########
@@ -22,10 +22,12 @@ if (!includeErrorProne) {
allprojects { prj ->
plugins.withType(JavaPlugin) {
- prj.apply plugin: 'net.ltgt.errorprone'
Review comment:
yes, unfortunately it does:
```
$ ./gradlew -Pruntime.java.home=/home/rmuir/Downloads/jdk-16 compileJava
...
> Task :lucene:core:compileJava FAILED
Exception in thread "main" java.lang.IllegalAccessError: class
com.google.errorprone.ErrorProneJavacPlugin (in unnamed module @0x31610302)
cannot access class com.sun.tools.javac.api.BasicJavacTask (in module
jdk.compiler) because module jdk.compiler does not export
com.sun.tools.javac.api to unnamed module @0x31610302
at
com.google.errorprone.ErrorProneJavacPlugin.init(ErrorProneJavacPlugin.java:38)
at
jdk.compiler/com.sun.tools.javac.api.BasicJavacTask.initPlugin(BasicJavacTask.java:255)
at
jdk.compiler/com.sun.tools.javac.api.BasicJavacTask.initPlugins(BasicJavacTask.java:229)
at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:292)
at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:176)
at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:64)
at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:50)
```
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]