Java 9 "illegal reflective access"

Started by francogp, September 26, 2017, 03:52:48

Previous topic - Next topic

francogp

Hello, my project just "work" using Java 9, but I'm getting this warnings:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.lwjgl.system.MemoryAccess (file:/C:/Users/franc/.gradle/caches/modules-2/files-2.1/org.lwjgl/lwjgl/3.1.0/fae7a04425666311d5dfe5ef7d89021ca0308d8d/lwjgl-3.1.0.jar) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of org.lwjgl.system.MemoryAccess
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

spasi

Replied here. LWJGL 3.1.1 or newer is required to run on Java 9 without warnings.