Voyager 2 - Compatibility with Modern Java Versions
This mod resolves LWJGL compatibility issues with Java 19 and 20, fixing crashes when preview features are enabled or when using a debugger. It supports all Minecraft versions that utilize LWJGL 3 and can work alongside the original Voyager mod.
The mod implements minor modifications to ThreadLocalUtil to support the new JNI function IsVirtualThread, which was added as part of JEP 425 (Project Loom). This ensures proper functionality with updated Java versions and their features.
For additional information about technical implementation details, you can refer to the relevant changes in the JDK source code.