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