Hi all,

Just wanted to bring broader attention to a change we're about to make
to our gradle builds on some environments.

Java 20 currently suffers from a JDK bug that causes Solr to fail to
start on Mac when the JVM "Security Manager" is enabled .  This
affects tests as well: Uwe's JDK20+Mac Jenkins job currently fails
upwards of 750 tests!

Technically, there is a workaround for folks who are comfortable
disabling the JVM's "Security Manager".  But in some back and forth
about this on PR #1832, we've come to the consensus that rather than
invite folks to disable their SM (or quietly do the same for them on
'test' runs), it's probably better to treat the JDK20+Mac combination
as somewhat fundamentally broken because of the JDK bug.  In line with
that, our 'test' task will start failing with the message "Tests
cannot be run with JDK20 on Mac; see SOLR-16733 for more details.".

I imagine this mostly only impacts Uwe's Jenkins jobs, as we
technically only support Java 11-19 on 'main'.  But any devs using
Java 20 through our build's "alternative jdk" support should be aware
and prepare to switch to Java 17 or similar.  I plan to merge the PR
soon so that builds@ and fucit will have much better signal-to-noise
over the weekend.

Best,

Jason

[1] https://github.com/apache/solr/pull/1832
[2] https://issues.apache.org/jira/browse/SOLR-16733

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org
For additional commands, e-mail: dev-h...@solr.apache.org

Reply via email to