birt icon indicating copy to clipboard operation
birt copied to clipboard

Remove the deprecated security manager and add a JVM-birt system property for activation (#1778)

Open speckyspooky opened this issue 1 year ago • 1 comments

Remove the deprecated security manager and add a JVM-birt system property for activation (#1778)

speckyspooky avatar Jul 03 '24 20:07 speckyspooky

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

speckyspooky avatar Jul 03 '24 20:07 speckyspooky

@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.

speckyspooky avatar Jul 04 '24 14:07 speckyspooky

IBM i?

wimjongman avatar Jul 08 '24 08:07 wimjongman