[ 
https://issues.apache.org/jira/browse/SOLR-15876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17470093#comment-17470093
 ] 

Uwe Schindler commented on SOLR-15876:
--------------------------------------

This is only half-true: Spotbugs runs inside the Gradle JVM so the opens are 
available! But on Jenkins setups it runs gradle with JDK 11 and only the 
compilation is done with JDK 16, 17 or 18 using the environment variable 
RUNTIME_JAVA_HOME. This causes the compilation to be forked and executed in a 
separate JVM (as its different), but there the problem that Gradle does not 
apply the opens to forked "javac".

To fix this you have to change the compilation task.

So please let the revert in, theres no workround due to the fact that Jenkins 
needs a "fixed" Gradle JV and only run tests in the runner JVM. Otherwise we 
can't test JDK 18, 19 prereleases and other stuff.

> Update to error-prone 2.10
> --------------------------
>
>                 Key: SOLR-15876
>                 URL: https://issues.apache.org/jira/browse/SOLR-15876
>             Project: Solr
>          Issue Type: Task
>            Reporter: Mike Drob
>            Assignee: Mike Drob
>            Priority: Major
>             Fix For: 9.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to