Hi,
several Linux, macos and Windows builds with various jdk versions up to
25 and 26-ea succeeded now.
Uwe
Am 24.09.2025 um 11:19 schrieb Uwe Schindler:
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 Bremen
https://www.thetaphi.de
eMail:u...@thetaphi.de
--
Uwe Schindler
Achterdiek 19, D-28357 Bremen
https://www.thetaphi.de
eMail:u...@thetaphi.de
--
Uwe Schindler
Achterdiek 19, D-28357 Bremen
https://www.thetaphi.de
eMail:u...@thetaphi.de