Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Fix[pojavexec]: fix incorrect JNIEnv usage in some cases#6510

Merged
artdeell merged 3 commits intov3_openjdkfrom
fix/env_usage
Jan 20, 2025
Merged

Fix[pojavexec]: fix incorrect JNIEnv usage in some cases#6510
artdeell merged 3 commits intov3_openjdkfrom
fix/env_usage

Conversation

@artdeell
Copy link
Contributor

@artdeell artdeell commented Jan 19, 2025

Fixes incorrect JNIEnv usages which broke:

  • 1.3-1.5.2 startup size
  • Forge window resizing

These caused some irreliability, as pojavexec isn't guaranteed to be loaded on the same thread as the call to glfwInit

This fixes:
- 1.3-1.5.2 setting their window size to 0,0 (and thus not working correctly)
- Forge for <1.13 not resizing its window
@artdeell artdeell merged commit 55e53ea into v3_openjdk Jan 20, 2025
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant