LWJGL Forum

Please login or register.

Login with username, password and session length

Author Topic: Java 9 "illegal reflective access"  (Read 96 times)

francogp

  • Newbie
  • *
  • Offline Offline
  • Posts: 1
Java 9 "illegal reflective access"
« on: September 26, 2017, 03:52:48 »

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

Code: [Select]
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
Logged

spasi

  • Administrator
  • Nerdus Imperius
  • *****
  • Offline Offline
  • Posts: 1888
Re: Java 9 "illegal reflective access"
« Reply #1 on: September 26, 2017, 07:21:02 »

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