pantsbuild / pants

The Pants Build System
https://www.pantsbuild.org
Apache License 2.0
3.26k stars 627 forks source link

JVM: Pants/Nailgun and future JDKs releases (after version 17) #20603

Open oleksii-danchuk opened 6 months ago

oleksii-danchuk commented 6 months ago

Hi Pants Team/Community,

What is the support plan for latest jdk releases after jdk 17?

Pants analyze takes forever when using jdk version > 17. ⠠ 601.68s Analyzing reusable-apis/...

Nailgun couldn't start due to the Security Manager is gone

Downloaded https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2%2B13/OpenJDK21U-jdk_x64_linux_hotspot_21.0.2_13.tar.gz
Exception in thread "NGServer(localhost/127.0.0.1, 0)" 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:430)
        at com.martiansoftware.nailgun.NGServer.run(NGServer.java:396)
        at java.base/java.lang.Thread.run(Thread.java:1583)
benjyw commented 6 months ago

Ooof, we should find someone to give the JVM backend a little love