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

Ankit Jain <[email protected]>
Newsgroups gmane.comp.jakarta.lucene.devel
Message-ID <CAPE3qScaKQwKKQ3DLM2QR8BesjVtTPZmid=DgArQ+vwdd34muA@mail.gmail.com>
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?
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.