Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5689

NetBeans does not start on JDK build with JEP 411

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      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)
      

        Attachments

          Activity

            People

            • Assignee:
              jtulach Jaroslav Tulach
              Reporter:
              jlahoda Jan Lahoda
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: