Thanks Uwe for a prompt fix. I could successfully rebuild and smoke test the artifacts.
Test Maven artifacts... download artifacts .................................................................................................................................................................................. verify that each binary artifact has a deployed POM... verify Maven artifacts' md5/sha1 digests... check for javadoc and sources artifacts... verify deployed POMs' coordinates... . unpack lucene-9.12.3.tgz... verify that Maven artifacts are same as in the binary distribution... verify JAR metadata/identity/no javax.* or java.* classes... SUCCESS! [0:49:24.321145] - Ankit On Wed, Sep 24, 2025 at 2:19 AM Uwe Schindler <u...@thetaphi.de> wrote: > It was fixed. The new 2-arg nextInt() method was not available in Java 11. > I just changed to add 2 to have a lower bound. > > Uwe > Am 24.09.2025 um 11:04 schrieb Uwe Schindler: > > I will fix this, sorry. The backport calls a method not available in > earlier JDK. > > Will fix in a moment, i did not run tests after cherry-picking! > > Uwe > Am 24.09.2025 um 09:40 schrieb Ankit Jain: > > Thanks Uwe for backporting the change. While building RC2, saw some issues > while running > > > ./gradlew --no-daemon -Dtests.badapples=false clean check > > > is failing with below error: > > *> Task :lucene:test-framework:compileTestJava* > > /local/home/akjain/ws/lucene/lucene/test-framework/src/test/org/apache/lucene/tests/mockfile/TestWindowsFS.java:203: > error: no suitable method found for nextInt(int,int) > > RandomStrings.randomAsciiLettersOfLength(r, r.nextInt(2, 10)) > > ^ > > method Random.nextInt() is not applicable > > (actual and formal argument lists differ in length) > > method Random.nextInt(int) is not applicable > > (actual and formal argument lists differ in length) > > Note: > /local/home/akjain/ws/lucene/lucene/test-framework/src/test/org/apache/lucene/tests/util/TestReproduceMessage.java > uses or overrides a deprecated API. > > Note: Recompile with -Xlint:deprecation for details. > > 1 error > > > *> Task :lucene:test-framework:compileTestJava* FAILED > > > > Is there something obvious that I am missing here? > > -- > Uwe Schindler > Achterdiek 19, D-28357 Bremenhttps://www.thetaphi.de > eMail: u...@thetaphi.de > > -- > Uwe Schindler > Achterdiek 19, D-28357 Bremenhttps://www.thetaphi.de > eMail: u...@thetaphi.de > >