Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
Description
Using a build of JDK with this change:
https://github.com/openjdk/jdk/pull/4073
which implements JEP 411:
https://openjdk.java.net/jeps/411
NetBeans does not start anymore:
$ ./netbeans --userdir /tmp/jep411-test --jdkhome <jdk-with-4073> java.lang.UnsupportedOperationException: Runtime configured to disallow security manager at java.base/java.lang.System.setSecurityManager(System.java:394) at org.netbeans.TopSecurityManager.install(TopSecurityManager.java:525) at org.netbeans.core.NbLifecycleManager.advancePolicy(NbLifecycleManager.java:69) at org.netbeans.core.GuiRunLevel.run(GuiRunLevel.java:84) at org.netbeans.core.startup.Main.start(Main.java:295) at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98) at java.base/java.lang.Thread.run(Thread.java:833)