billrobertson42 commented on issue #7914:
URL: https://github.com/apache/netbeans/issues/7914#issuecomment-2439798837

   Here's the list of --add-opens and --add-exports, and also 
--enable-native-access setting for  jvm that runs Netbeans has (from running ps 
-eaf). Looks like it has those packages mentioned in previous post.
   
   ```
   --enable-native-access=ALL-UNNAMED
   --add-opens=java.base/java.net=ALL-UNNAMED
   --add-opens=java.base/java.lang.ref=ALL-UNNAMED
   --add-opens=java.base/java.lang=ALL-UNNAMED
   --add-opens=java.base/java.security=ALL-UNNAMED
   --add-opens=java.base/java.util=ALL-UNNAMED
   --add-opens=java.base/java.nio=ALL-UNNAMED
   --add-exports=java.base/sun.reflect.annotation=ALL-UNNAMED
   --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED
   --add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED
   --add-opens=java.desktop/javax.swing.text=ALL-UNNAMED
   --add-opens=java.desktop/javax.swing=ALL-UNNAMED
   --add-opens=java.desktop/java.awt=ALL-UNNAMED
   --add-opens=java.desktop/java.awt.event=ALL-UNNAMED
   --add-opens=java.desktop/sun.awt.X11=ALL-UNNAMED
   --add-opens=java.desktop/javax.swing.plaf.synth=ALL-UNNAMED
   --add-opens=java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED
   --add-opens=java.desktop/com.sun.java.swing.plaf.windows=ALL-UNNAMED
   --add-opens=java.desktop/com.apple.laf=ALL-UNNAMED
   --add-opens=java.desktop/sun.awt.shell=ALL-UNNAMED
   --add-opens=java.desktop/sun.awt.im=ALL-UNNAMED
   --add-exports=java.desktop/sun.awt=ALL-UNNAMED
   --add-exports=java.desktop/java.awt.peer=ALL-UNNAMED
   --add-exports=java.desktop/com.sun.beans.editors=ALL-UNNAMED
   --add-exports=java.desktop/sun.swing=ALL-UNNAMED
   --add-exports=java.desktop/sun.awt.im=ALL-UNNAMED
   --add-exports=java.desktop/com.sun.java.swing.plaf.motif=ALL-UNNAMED
   --add-exports=java.desktop/com.apple.eio=ALL-UNNAMED
   --add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
   --add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
   --add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
   --add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
   --add-opens=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED
   --add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED
   --add-opens=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED
   --add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
   --add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED
   --add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
   --add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
   --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
   --add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
   --add-exports=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
   --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
   --add-exports=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED
   --add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED
   --add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED
   --add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
   --add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED
   --add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
   --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
   --add-modules=jdk.jshell
   --add-opens=jdk.jshell/jdk.jshell=ALL-UNNAMED
   --add-exports=jdk.jshell/jdk.internal.jshell.debug=ALL-UNNAMED
   --add-exports=jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED
   --add-exports=jdk.jdeps/com.sun.tools.javap=ALL-UNNAMED
   --add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
   --add-exports=jdk.internal.opt/jdk.internal.opt=ALL-UNNAMED
   --add-exports=java.management/sun.management=ALL-UNNAMED
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-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