[
https://issues.apache.org/jira/browse/NETBEANS-5703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17351058#comment-17351058
]
Tom Watson commented on NETBEANS-5703:
--------------------------------------
I was going to mention something similar to [~kjjaeger]. With this property
set the default security manager will be set from the start of Java. This
would disable the code in Equinox that is causing the problem because
System.getSecurityManager will return null. It depends on when Netbeans sets
its own security manager though. If it does this rather early perhaps it is
ok. Otherwise I would expect some performance degradation because this
effectively enables the security manager by default which will have some
performance penalty and I can imagine cause issues in other areas that perhaps
don't expect a security manager to always be enabled.
> Can we pass in -Djava.security.manager=allow?
> ---------------------------------------------
>
> Key: NETBEANS-5703
> URL: https://issues.apache.org/jira/browse/NETBEANS-5703
> Project: NetBeans
> Issue Type: Sub-task
> Components: platform - Module System
> Reporter: Jaroslav Tulach
> Assignee: Jan Lahoda
> Priority: Major
>
> [JEP-411|https://openjdk.java.net/jeps/411] suggests to pass enable security
> manager on when launching the Java process via:
> {quote}enabled on the command line, via {{java -Djava.security.manager}} or
> {{java -Djava.security.manager=...}}, then issue a warning message at startup.
> {quote}
> Does that work? E.g. can NetBeans 12.4 be launched with such option?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
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