jdsmithsos opened a new issue, #8395:
URL: https://github.com/apache/netbeans/issues/8395

   ### Apache NetBeans version
   
   Apache NetBeans 25
   
   ### What happened
   
   Using Java 21.
   When upgrading the NetBeans version from RELEASE240 to RELEASE250.
   The application project build completed successfully with no compile errors.
   When running the successfully rebuilt project, get the following exception:
   
   java.lang.UnsupportedOperationException: The Security Manager is deprecated 
and will be removed in a future release
        at java.base/java.lang.System.setSecurityManager(System.java:430)
        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:316)
        at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)
        at java.base/java.lang.Thread.run(Thread.java:1583)
   
   I am using the NetBeans IDE version 25, which is also running on Java 21.  
The IDE works perfectly without startup error.
   
   ### Language / Project Type / NetBeans Component
   
   Java Maven application
   
   ### How to reproduce
   
   In the project Maven pom.xml change the netbeans.version to RELEASE250, 
rebuild, and run
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 24
   
   ### Operating System
   
   Windows 11
   
   ### JDK
   
   21
   
   ### Apache NetBeans packaging
   
   Apache NetBeans platform
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-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