LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan, bgfx), audio (OpenAL, Opus), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR, OpenXR) applications.
The options -H:JNIConfigurationResources and -H:ReflectionConfigurationResources are apparently considered experimental.
GraalVM for JDK 21 will give a warning like
Warning: The option '-H:JNIConfigurationResources=[...]' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
However, this file and the options are not needed at all, since native-image already automatically picks the config files correclty up, based on their name. So just removing native-image.properties should be fine.
I confirmed on my test, that it works correctly without this file.
Version
3.3.3
Platform
macOS arm64
JDK
all
Module
core
Bug description
The options
-H:JNIConfigurationResources
and-H:ReflectionConfigurationResources
are apparently considered experimental. GraalVM for JDK 21 will give a warning likelwjgl3 defines them in this file: https://github.com/LWJGL/lwjgl3/blob/master/config/native-image/META-INF/native-image/native-image.properties
However, this file and the options are not needed at all, since native-image already automatically picks the config files correclty up, based on their name. So just removing
native-image.properties
should be fine. I confirmed on my test, that it works correctly without this file.Stacktrace or crash log output
No response