thinkingrock-gtd/tr-pc

WARNING: A terminally deprecated method in java.lang.System has been called

Closed this issue · 3 comments

By running the latest development version of application with Temurin OpenJDK 17 on MacOS you'll get this warning:

WARNING: A terminally deprecated method in java.lang.System has been called WARNING: System::setSecurityManager has been called by org.netbeans.TopSecurityManager (file:/.../trgtd/platform/lib/boot.jar) WARNING: Please consider reporting this to the maintainers of org.netbeans.TopSecurityManager WARNING: System::setSecurityManager will be removed in a future release

It needs to be handled on the Netbeans Platform side. It is discussed here:

JEP 411: Deprecate the Security Manager for Removal (Part 1) - https://blogs.apache.org/netbeans/entry/better-news-correct-deprecation-of

JEP 411: Deprecate the Security Manager for Removal (Part 2) - https://blogs.apache.org/netbeans/entry/jep-411-deprecate-the-security1

Currently, it's just a warning, no removal is planned. At least in JEP-411 - https://openjdk.org/jeps/411

Based on those facts I'm marking this as won't do until the situation will change.

@RadekCap Thanks for the investigation and the documentation.