mbien commented on issue #4952:
URL: https://github.com/apache/netbeans/issues/4952#issuecomment-1467210008

   awesome, thanks. This doesn't look that bad anymore thanks to your work. If 
we remove all tests from that list, we get this:
   ```
   
nbi/engine/src/org/netbeans/installer/downloader/dispatcher/impl/RoundRobinDispatcher.java:122:
   
nbi/engine/src/org/netbeans/installer/downloader/dispatcher/impl/RoundRobinDispatcher.java:168:
   
extide/o.apache.tools.ant.module/src-bridge/org/apache/tools/ant/module/bridge/impl/BridgeImpl.java:329:
   
java/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/AgentWorker.java:493:
   platform/core.execution/src/org/netbeans/core/execution/SecMan.java:82: 
warning:
   platform/core.execution/src/org/netbeans/core/execution/SecMan.java:84: 
warning:
   platform/o.n.core/src/org/netbeans/core/CLIOptions2.java:113:
   ```
   
   
[`BridgeImpl`](https://github.com/apache/netbeans/blob/34f1b48f8b515eb83755599d502bc6d5918680ce/extide/o.apache.tools.ant.module/src-bridge/org/apache/tools/ant/module/bridge/impl/BridgeImpl.java#L329)uses
 stop as fallback, we could probably simply catch UOE there or guard against 
JDK 20+.
   
[`SecMan`](https://github.com/apache/netbeans/blob/34f1b48f8b515eb83755599d502bc6d5918680ce/platform/core.execution/src/org/netbeans/core/execution/SecMan.java#L30)
 is full with deprecated code since SecurityManager itself is deprecated. This 
will be harder to solve.
   
[`AgentWorker`](https://github.com/apache/netbeans/blob/34f1b48f8b515eb83755599d502bc6d5918680ce/java/lib.jshell.agent/agentsrc/org/netbeans/lib/jshell/agent/AgentWorker.java#L493)
 for jshell might also cause problems, it should probably interrupt and pray.
   
[`SLIOptions2`](https://github.com/apache/netbeans/blob/34f1b48f8b515eb83755599d502bc6d5918680ce/platform/o.n.core/src/org/netbeans/core/CLIOptions2.java#L113)
 uses stop too as last resort.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to