Re: [JENKINS] Lucene-9.12-Windows (64bit/hotspot/jdk-21.0.6) - Build # 662 - Unstable!

Uwe Schindler <[email protected]>
Newsgroups gmane.comp.jakarta.lucene.devel
Message-ID <[email protected]>
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:[email protected]
> -- 
> Uwe Schindler
> Achterdiek 19, D-28357 Bremen
> https://www.thetaphi.de
> eMail:[email protected]

-- 
Uwe Schindler
Achterdiek 19, D-28357 Bremen
https://www.thetaphi.de
eMail:[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.