uschindler commented on issue #12911:
URL: https://github.com/apache/lucene/issues/12911#issuecomment-1852033091

   I can explain why you see a difference with Java 17 vs 21. Did the job fail 
on `:lucene:core:generateJdkApiJar21`. If yes the following happened:
   
   All those three tasks are run with an automatically downloaded Java version 
(Gradle Autoinstall). So when you run with Java 17, it may download (and cache 
the downloads) for 19, 20, 21.
   
   If you run the task with Gradle on Java 21, it will of course use the actual 
JVM and not execute a separately downloaded one to extract API signatures. So 
the difference for you is that With Java 21 it did not use the downloaded Java 
21 version and instead your Gradle runtim VM.


-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to