[ 
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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to