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

Uwe Schindler <[email protected]>
Newsgroups gmane.comp.jakarta.lucene.devel
Message-ID <[email protected]>
I think it would be enough to only add that command line parameter 
unconditionally only to the MR-JAR compilation stuff and remove it from 
main javac definitions.

Uwe

Am 15.06.2025 um 08:56 schrieb Uwe Schindler:
>
> Your analysis is right. Let's just suppress that warning for the 
> MR-JAR compilation. I already disables more stuff.
>
> Uwe
>
> Am 14.06.2025 um 23:13 schrieb Dawid Weiss:
>>
>> 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]
>>
> -- 
> 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.