Re: [JENKINS-EA] Lucene-nightly-main-Linux (64bit/hotspot/jdk-25-ea+27) - Build # 263 - Failure!

Dawid Weiss <[email protected]>
Newsgroups gmane.comp.jakarta.lucene.devel
Message-ID <CAM21Rt_jFCEOs2uU+OQcR5k8bcQktjNYkcTKjist-CzJWF9AyA@mail.gmail.com>
This... is weird. It complains when compiling against new Java, for
example:

./gradlew compileMain24Java -Pruntime.java.home=/jdks/jdk-25+27
--rerun-tasks

the problem is this:

warning: [options] location of system modules is not set in conjunction
with -source 24
  not setting the location of system modules may lead to class files that
cannot run on JDK 24
    --release 24 is recommended instead of -source 24 -target 24 because it
sets the location of system modules automatically
error: warnings found and -Werror specified

but we do set:

-Xlint:-options

so I'm not sure why this warning is even triggered. We also can't use
--release because we do some other tweaks to java.base in
lucene.java.core.mrjar.gradle.

I haven't had the time to try to track if it's a jdk regression.

Dawid

On Sat, Jun 14, 2025 at 10:13 PM Policeman Jenkins Server <
[email protected]> wrote:

> Build: https://jenkins.thetaphi.de/job/Lucene-nightly-main-Linux/263/
> Java: 64bit/hotspot/jdk-25-ea+27 -XX:-UseCompressedOops -XX:+UseParallelGC
>
> No tests ran.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [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.