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

NetBeans does not start on JDK build with JEP 411

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 12.5
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jtulach Jaroslav Tulach Assign to me
            jlahoda Jan Lahoda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment