Using Gradle 8.6.
Any fix for this? Occurs when building Elasticsearch 8.x.y from the Github repo.
Apparently not a bug.
JDK 11, etc. etc.
Caused by: java.lang.RuntimeException: unable to install test security manager
at org.elasticsearch.bootstrap.BootstrapForTesting.<clinit>(BootstrapForTesting.java:207)
... 42 more
Caused by: java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
at java.base/java.lang.System.setSecurityManager(System.java:429)
at org.elasticsearch.bootstrap.Security.setSecurityManager(Security.java:109)
at org.elasticsearch.bootstrap.BootstrapForTesting.<clinit>(BootstrapForTesting.java:189)
... 42 more