rmuir commented on PR #11927:
URL: https://github.com/apache/lucene/pull/11927#issuecomment-1314122689

   @dweiss I'm seeing the same behavior when i run: `/gradlew assemble 
-Dvalidation.errorprone=true`. I fear error-prone is somehow "stomping" on the 
jvm arguments. The patch does work in the "javac" case but I didn't run any 
benchmarks, I can play with it. Maybe we can speed up the non-error-prone case. 
   
   Example process for the error-prone:
   ```
   /usr/lib/jvm/java-17-openjdk/bin/java 
--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED 
--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED 
--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED 
--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED 
--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED 
--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED 
--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED 
--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED 
--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED 
--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED --add-opens 
java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED 
@/home/rmuir/.gradle/.tmp/gradle-worker-classpath3306569470811401838txt 
-Xmx512m -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en 
-Duser.variant worker.org.gradle.process.internal.worker.GradleWorkerMain 
'Gradle Wor
 ker Daemon 1'
   ```
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to