Hello!

I am in the process of converting my RCP app from NetBeans 8.2/Java 8 to 
NetBeans 15/Java 17.  As I am debugging in NB15/J17, I am noticing a number of 
warnings such as below, this particular one being from a NetBeans module.  In 
searching through the user list message archive, a couple of years ago the 
solution was to add a bunch of "-J--add-opens" to the app's command line.  Is 
this still the proper method to eliminate this issue?  I haven't found yet how 
this is actually affecting my application.

[...]
INFO [org.netbeans.ui.metrics.laf]: USG_LOOK_AND_FEEL
java.lang.IllegalAccessException: class org.netbeans.TopSecurityManager cannot 
access class sun.awt.AppContext (in module java.desktop) because module 
java.desktop does not export sun.awt to unnamed module @27d6c5e0
        at 
java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:392)
        at 
java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:674)
        at java.base/java.lang.reflect.Method.invoke(Method.java:560)
        at 
org.netbeans.TopSecurityManager.makeSwingUseSpecialClipboard(TopSecurityManager.java:714)
        at 
org.netbeans.core.NbLifecycleManager.advancePolicy(NbLifecycleManager.java:71)
        at org.netbeans.core.GuiRunLevel.run(GuiRunLevel.java:84)
        at org.netbeans.core.startup.Main.start(Main.java:312)
        at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)
        at java.base/java.lang.Thread.run(Thread.java:833)

Thank You!

Joe Huber
Standard Refrigeration LLC
2005 Reverchon Dr
Arlington, TX  76017
Desk: 608-855-5808
Mobile: 682-777-8374
Email: jhu...@stanref.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to