Login  Register

Re: JAVA 11: "illegal reflective access" warning

Posted by SteveV on Feb 28, 2020; 7:40pm
URL: https://forum.jogamp.org/JAVA-11-illegal-reflective-access-warning-tp4039322p4040393.html

I upgraded from a Windows 7 to a Windows 10 machine and from the old 1.6.0 (with javax.* package names) to Java3d 1.7.0.  When I build and run my app, I get

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.jogamp.common.os.NativeLibrary$3 (file:/C:/Program%20Files/Java/jogamp-2.3.2/gluegen.jar) to method java.lang.ClassLoader.findLibrary(java.lang.String)
WARNING: Please consider reporting this to the maintainers of com.jogamp.common.os.NativeLibrary$3
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

My app loads and does not crash, but the behavior is very erratic, long pauses, ignoring mouse inputs, etc.  Might this behavior result from this warning?  How do I know if it is using the proper OS services and drivers?