Skip to content

Android: Assume external JavaVM in JNI code#312

Merged
keeshux merged 1 commit intomasterfrom
bugfix/jni-globals
Mar 10, 2026
Merged

Android: Assume external JavaVM in JNI code#312
keeshux merged 1 commit intomasterfrom
bugfix/jni-globals

Conversation

@keeshux
Copy link
Member

@keeshux keeshux commented Mar 10, 2026

If consumers already define JNI_OnLoad(), the jvm variable is never initialized here. Assume jvm to be a proper singleton.

If consumers already define JNI_OnLoad(), the jvm variable is
never initialized here. Assume jvm to be a proper singleton.
@keeshux keeshux changed the title Assume external JavaVM *jvm in JNI code Android: Assume external JavaVM in JNI code Mar 10, 2026
@keeshux keeshux self-assigned this Mar 10, 2026
@keeshux keeshux added bug Something isn't working Android labels Mar 10, 2026
@keeshux keeshux moved this to In Progress in 2026 Q1 Android Mar 10, 2026
@keeshux keeshux added this to the 1.0.0 milestone Mar 10, 2026
@keeshux keeshux merged commit 879a107 into master Mar 10, 2026
1 check passed
@keeshux keeshux deleted the bugfix/jni-globals branch March 10, 2026 19:15
@keeshux keeshux moved this from In Progress to Done in 2026 Q1 Android Mar 14, 2026
@keeshux keeshux modified the milestones: 1.0.0, ABI: Android Mar 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Android bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant