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

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

Hi [~mdrob],
this PR fixes the issue with a "hack": https://github.com/apache/solr/pull/502

Basically it enables errorprone like in your patch, when it runs inside the 
Gradle JVM and therefore gets the module-opens. If you start Gradle with 
RUNTIME_JAVA_HOME, javac is executed as a forked process which does not have 
the module opens. In that case it is disabled.

I will ask [~dweiss] for a review, because I would apply the same PR to Lucene 
once we switched to Java 17 in LUCENE-10283.

> 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: 1h
>  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