Improves LWJGL compatibility with Java 19 and 20, fixing a crash when preview features are enabled or with a debugger attached. All Minecraft versions that use LWJGL 3 are supported, this also works alongside the original Voyager mod.
See my LWJGL PR here (Released in 3.3.2): https://github.com/LWJGL/lwjgl3/pull/799
JEP 425 (Project Loom) added the JNI function IsVirtualThread. This mod uses a small mixin on ThreadLocalUtil to support the addion of this new function and JNI version.
JDK change: openjdk/jdk@<tt>53bf1bf</tt>
JDK issue: https://bugs.openjdk.org/browse/JDK-8286176
Please make sure to report any bugs to the issue tracker linked above.