Hi all, There's discussions on this on the Foojay slack channel in #jeps:
https://join.slack.com/t/foojay/shared_invite/zt-qkq5t71h-GzuwzAC2QBBBjPKaC91ZVw Join in -- someone has suggested: "Will it work if the following property is set, just prior to calling setSecurityManager?" java.security.manager=allow Join in with that discussion via the invite above. Gj On Thu, May 20, 2021 at 8:28 AM Geertjan Wielenga < [email protected]> wrote: > > What needs to be done within NetBeans to fix this — what needs to be > rewritten? How much work would it take, do we estimate? > > Gj > > On Thu, 20 May 2021 at 06:58, Jaroslav Tulach (Jira) <[email protected]> > wrote: > >> >> [ >> https://issues.apache.org/jira/browse/NETBEANS-5689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel >> ] >> >> Jaroslav Tulach updated NETBEANS-5689: >> -------------------------------------- >> 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: >> {code:java} >> $ ./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) >> {code} >> >> was: >> 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|system.java:394]) >> >> at >> org.netbeans.TopSecurityManager.install([TopSecurityManager.java:525|topsecuritymanager.java:525]) >> >> at >> org.netbeans.core.NbLifecycleManager.advancePolicy([NbLifecycleManager.java:69|nblifecyclemanager.java:69]) >> >> at >> org.netbeans.core.GuiRunLevel.run([GuiRunLevel.java:84|guirunlevel.java:84]) >> >> at >> org.netbeans.core.startup.Main.start([Main.java:295|main.java:295]) >> at >> org.netbeans.core.startup.TopThreadGroup.run([TopThreadGroup.java:98|topthreadgroup.java:98]) >> >> at >> java.base/java.lang.Thread.run([Thread.java:833|thread.java:833]) >> >> >> > NetBeans does not start on JDK build with JEP 411 >> > ------------------------------------------------- >> > >> > Key: NETBEANS-5689 >> > URL: >> https://issues.apache.org/jira/browse/NETBEANS-5689 >> > Project: NetBeans >> > Issue Type: Bug >> > Components: platform - Module System >> > Reporter: Jan Lahoda >> > Priority: Blocker >> > >> > 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: >> > {code:java} >> > $ ./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) >> > {code} >> >> >> >> -- >> This message was sent by Atlassian Jira >> (v8.3.4#803005) >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> For further information about the NetBeans mailing lists, visit: >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >> >>
