Hi Chris,

Yes only the security manager should not be enabled. Everything else is not a 
problem.

Of course I could reconfigure Jenkins to pass the system property for java 24+, 
but I hope we can fix the build.

Mike S.: the security manager error does not happen in smoke tester as it can't 
handle java version not supported. The failing build was a normal Jenkins run 
on the 9.12 branch: 
<https://jenkins.thetaphi.de/job/Lucene-9.12-Linux/2549/console>

Uwe

Am 22. September 2025 17:08:26 MESZ schrieb Chris Hegarty 
<[email protected]>:
>Uwe,
>
>Thanks for checking with the different JDKs.
>
>> IMHO, we should not release something that's not well tested with Java 24 or 
>> Java 25, so I'd suggest to backport the "SecurityManager disablement" from 
>> 10.x to 9.12 branch! We should also fix the smoke tester to allow running 
>> with Java 24 and Java 25 by using RUNTIME_JAVA_HOME instead. In the meantime 
>> I'd suggest to run tests via normal Jenkins.
>
>There could be more involved, but this is the place where I started with this: 
>https://github.com/apache/lucene/issues/14184. The only PR missing that I 
>think needs back porting is https://github.com/apache/lucene/pull/14179 ? 
>(unless there was more that I’m missing)
>
>-Chris.
>
>> On 22 Sep 2025, at 10:19, Uwe Schindler <[email protected]> wrote:
>> 
>> Hi,
>> First of all, it passed for me on Policeman Jenkins: 
>> https://jenkins.thetaphi.de/job/Lucene-9.x-Release-Tester/41/console
>> SUCCESS! [3:01:57.643572]
>> This was checked for the following JDKs:
>> Java 11 JAVA_HOME=/home/jenkins/tools/java/64bit/hotspot/latest-jdk11
>> Java 17 JAVA_HOME=/home/jenkins/tools/java/64bit/hotspot/latest-jdk17
>> Java 19 JAVA_HOME=/home/jenkins/tools/java/64bit/hotspot/latest-jdk19
>> Java 20 JAVA_HOME=/home/jenkins/tools/java/64bit/hotspot/latest-jdk20
>> Java 21 JAVA_HOME=/home/jenkins/tools/java/64bit/hotspot/latest-jdk21
>> Java 22 JAVA_HOME=/home/jenkins/tools/java/64bit/hotspot/latest-jdk22
>> Java 23 JAVA_HOME=/home/jenkins/tools/java/64bit/hotspot/latest-jdk23
>> Java 24 and Java 25 weren't possible with Smoketester as 9.12's Gradle does 
>> not like the newer JDKs and the smoke tester does not use RUNTIME_JAVA_HOME 
>> to just run tests and compilation in the newer JDKs (we should improve this 
>> at some point as this always leads to problems with smoke testing due to 
>> Gradle's slow adoption of newer JDKs).
>> Now the bad news: At the same time I enabled "normal" Jenkins  Jobs for 9.12 
>> branch, which does a all checks of various JDKs (randomly) with 
>> RUNTIME_JAVA_HOME and random GC settings,.... Unfortunately, the whole thing 
>> does not run tests with Java 24 anymore, because it crushes as the test 
>> runner enables SecurityManager:
>> > Task :lucene:benchmark:test Error occurred during initialization of VM 
>> > java.lang.Error: A command line option has attempted to allow or enable 
>> > the Security Manager. Enabling a Security Manager is not supported. at 
>> > java.lang.System.initPhase3(java.base@24/System.java:1947)
>> IMHO, we should not release something that's not well tested with Java 24 or 
>> Java 25, so I'd suggest to backport the "SecurityManager disablement" from 
>> 10.x to 9.12 branch! We should also fix the smoke tester to allow running 
>> with Java 24 and Java 25 by using RUNTIME_JAVA_HOME instead. In the meantime 
>> I'd suggest to run tests via normal Jenkins.
>> -1 to release!
>> Uwe
>> Am 18.09.2025 um 20:40 schrieb Ankit Jain:
>>> Please vote for release candidate 1 for Lucene 9.12.3
>>> 
>>> The artifacts can be downloaded from:
>>> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.12.3-RC1-rev-d2cf5568e3965cc642cae3b695fcbeff5bb5c2ed
>>> 
>>> You can run the smoke tester directly with this command:
>>> 
>>> python3 -u dev-tools/scripts/smokeTestRelease.py \
>>> https://dist.apache.org/repos/dist/dev/lucene/lucene-9.12.3-RC1-rev-d2cf5568e3965cc642cae3b695fcbeff5bb5c2ed
>>> 
>>> Draft release notes: 
>>> https://cwiki.apache.org/confluence/display/LUCENE/ReleaseNote9_12_3 
>>> The vote will be open for at least 72 hours i.e. until 2025-09-21 19:00 UTC.
>>> 
>>> [ ] +1  approve
>>> [ ] +0  no opinion
>>> [ ] -1  disapprove (and reason why)
>>> 
>>> Here is my +1 (non-binding)
>>> 
>>> 
>>> - Ankit
>> -- 
>> Uwe Schindler
>> Achterdiek 19, D-28357 Bremen
>> https://www.thetaphi.de
>> eMail: [email protected]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>

--
Uwe Schindler
Achterdiek 19, 28357 Bremen
https://www.thetaphi.de

Reply via email to