Public bug reported:

When preparing an upgrade to VisualVM 2.1.8 I encountered the following 
exception:
--
$visualvm
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(Unknown Source)
 at org.netbeans.core.NbLifecycleManager.advancePolicy(Unknown Source)
 at org.netbeans.core.GuiRunLevel.run(Unknown Source)
 at org.netbeans.core.startup.Main.start(Unknown Source)
 at org.netbeans.core.startup.TopThreadGroup.run(Unknown Source)
 at java.base/java.lang.Thread.run(Thread.java:1583)

---

This is caused by Java 21 changes and is already fixed upstream[1]

[1]
https://github.com/apache/netbeans/commit/4c9d9492f70b09aaeae2b8b10fc26ae29433d667

** Affects: libnb-platform18-java (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: libnb-platform18-java (Debian)
     Importance: Unknown
         Status: Unknown

** Description changed:

- When preparing upgrade to VisualVM 2.1.8 I have encountered the following 
exception:
+ When preparing an upgrade to VisualVM 2.1.8 I encountered the following 
exception:
  --
  $visualvm
  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(Unknown Source)
-       at org.netbeans.core.NbLifecycleManager.advancePolicy(Unknown Source)
-       at org.netbeans.core.GuiRunLevel.run(Unknown Source)
-       at org.netbeans.core.startup.Main.start(Unknown Source)
-       at org.netbeans.core.startup.TopThreadGroup.run(Unknown Source)
-       at java.base/java.lang.Thread.run(Thread.java:1583)
+  at java.base/java.lang.System.setSecurityManager(System.java:430)
+  at org.netbeans.TopSecurityManager.install(Unknown Source)
+  at org.netbeans.core.NbLifecycleManager.advancePolicy(Unknown Source)
+  at org.netbeans.core.GuiRunLevel.run(Unknown Source)
+  at org.netbeans.core.startup.Main.start(Unknown Source)
+  at org.netbeans.core.startup.TopThreadGroup.run(Unknown Source)
+  at java.base/java.lang.Thread.run(Thread.java:1583)
  
  ---
  
  This is caused by Java 21 changes and is already fixed upstream[1]
  
- 
- [1] 
https://github.com/apache/netbeans/commit/4c9d9492f70b09aaeae2b8b10fc26ae29433d667
+ [1]
+ 
https://github.com/apache/netbeans/commit/4c9d9492f70b09aaeae2b8b10fc26ae29433d667

** Bug watch added: Debian Bug tracker #1069015
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069015

** Also affects: libnb-platform18-java (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069015
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2061363

Title:
  libnb-platform18-java  is unable to set security manager with default
  jdk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnb-platform18-java/+bug/2061363/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to