Remove the deprecated security manager and add a JVM-birt system property for activation (#1778)
Remove the deprecated security manager and add a JVM-birt system property for activation (#1778)
This PR is a suggestion to remove the deprecated "Security Manager" since JDK 17. Instead of the Security Manager a system property via JVM configuration can be used for activation.
This change is based on ticket #1778. But the PR won't fix the problem of the original ticket. And currently I see no fix of the original topic which is located on mozilla -JavaScript.
The target here is only to remove the deprecated "Security Manager".
Documentation reference of the Security Manager: https://docs.oracle.com/en%2Fjava%2Fjavase%2F22%2Fdocs%2Fapi%2F%2F/java.base/java/lang/SecurityManager.html
@claesrosell Thanks for your hints. This sounds very good and I will change the property handling and also the method calls to simplify the stuff.
Yes, we could add some code to set the security manager but then we have again deprecated code which should be reoved.
IBM i?