LWJGL/lwjgl3

[LWJGL] [ThreadLocalUtil] Unsupported JNI version detected, this may result in a crash. Please inform LWJGL developers.

StochasticTinkr opened this issue · 1 comments

Version

3.3.2

Platform

macOS x64

JDK

OpenJDK 64-Bit Server VM v21.0.1+12-29 by Oracle Corporation [

Module

LWJGL Core, GLFW, OpenGL

Bug description

Getting this output when using LWJGL. It doesn't appear to be a crash, but thought it was worth reporting it.

[LWJGL] [ThreadLocalUtil] Unsupported JNI version detected, this may result in a crash. Please inform LWJGL developers.

I set a debug break point to see what version was actually detected. GetVersion() returned 0x150000, but the latest version listed is 0x140000.

Stacktrace or crash log output

[LWJGL] Version: 3.3.2+13
	 OS: Mac OS X v12.6.7
	JRE: macOS x86_64 21.0.1
	JVM: OpenJDK 64-Bit Server VM v21.0.1+12-29 by Oracle Corporation
[LWJGL] Loading JNI library: lwjgl
	Module: org.lwjgl
	Loaded from org.lwjgl.librarypath: /var/folders/gw/r04ks9c128gc8jcrzvjdf1dr0000gn/T/lwjgl_username/3.3.2+13/x64/liblwjgl.dylib
[LWJGL] Java 9 check intrinsics enabled
[LWJGL] Closure Registry: simple
[LWJGL] Warning: Failed to instantiate memory allocator: org.lwjgl.system.jemalloc.JEmallocAllocator. Using the system default.
[LWJGL] MemoryUtil allocator: StdlibAllocator
[LWJGL] Loading library: glfw_async
	Module: org.lwjgl.glfw
	Loaded from org.lwjgl.librarypath: /var/folders/gw/r04ks9c128gc8jcrzvjdf1dr0000gn/T/lwjgl_username/3.3.2+13/x64/libglfw_async.dylib
[LWJGL] Loading JNI library: lwjgl_opengl
	Module: org.lwjgl.opengl
	Loaded from org.lwjgl.librarypath: /var/folders/gw/r04ks9c128gc8jcrzvjdf1dr0000gn/T/lwjgl_username/3.3.2+13/x64/liblwjgl_opengl.dylib
[LWJGL] Loading library: /System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL
	Module: org.lwjgl.opengl
	Success
[LWJGL] [ThreadLocalUtil] Unsupported JNI version detected, this may result in a crash. Please inform LWJGL developers.
[LWJGL] Java 10 multiplyHigh enabled

This was fixed by 2b5893f in 3.3.3, try that instead?