Deprecation Warning from JDK

Having trouble installing Oxygen? Got a bug to report? Post it all here.
sarcanon
Posts: 39
Joined: Mon Aug 24, 2009 11:42 pm

Deprecation Warning from JDK

Post by sarcanon »

Hello.
Occasionally, I will use the command line to open an XML file for editing like this:

Code: Select all

C:\\Program Files\\Oxygen XML Editor 25\\oxygen.bat "C:/Users/user1/Documents/project/RIB00955.xml"
When doing so today, I received the following warning from the JDK:

Code: Select all

NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.regex=ALL-UNNAMED --add-opens=java.base/sun.net.util=ALL-UNNAMED --add-opens=java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-opens=java.base/sun.net.www.protocol.https=ALL-UNNAMED --add-opens=java.desktop/java.awt=ALL-UNNAMED --add-opens=java.desktop/java.awt.dnd=ALL-UNNAMED --add-opens=java.desktop/javax.swing=ALL-UNNAMED --add-opens=java.desktop/javax.swing.text=ALL-UNNAMED --add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED --add-opens=java.desktop/com.sun.java.swing.plaf.windows=ALL-UNNAMED --add-opens=java.xml/com.sun.org.apache.xerces.internal.xni=ALL-UNNAMED --add-opens=javafx.graphics/com.sun.javafx.tk=ALL-UNNAMED --add-opens=javafx.web/javafx.scene.web=ALL-UNNAMED --add-opens=javafx.web/com.sun.javafx.webkit=ALL-UNNAMED

WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by ro.sync.security.manager.SandboxSecurityManagerInstaller (file:/C:/Program%20Files/Oxygen%20XML%20Editor%2025/lib/oxygen-sandbox.jar)
WARNING: Please consider reporting this to the maintainers of ro.sync.security.manager.SandboxSecurityManagerInstaller
WARNING: System::setSecurityManager will be removed in a future release
Thought you might like to know.
All the best.

Enivironment: OxygenXML 25.1 Editor (build 2023070306)
Windows 10 Pro (64 bit)
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Deprecation Warning from JDK

Post by adrian »

Hello,

We are aware of this. Unfortunately Java 17 won't let us hide/bypass these warnings. They are not meant for the end-user.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply