Repository navigation
perf(android): bridge boxed unsigned values directly through JNI - #1997
Merged
mrousavy merged 1 commit intoNov 2, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Oct 23, 2026
mrousavy
force-pushed
the
mrousavy/v1-kotlin-ulongarray
branch
from
October 23, 2026 17:36
035e0ad to
8d57d32
Compare
mrousavy
force-pushed
the
mrousavy/v1-kotlin-ulongarray
branch
from
October 23, 2026 17:51
8d57d32 to
ae0d1bc
Compare
This was referenced Oct 23, 2026
mrousavy
force-pushed
the
mrousavy/v1-kotlin-ulongarray
branch
from
October 28, 2026 10:58
ae0d1bc to
1d923a0
Compare
mrousavy
force-pushed
the
mrousavy/v1-kotlin-ulongarray
branch
from
October 28, 2026 11:22
1d923a0 to
be615e2
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bridge boxed unsigned values directly as Kotlin
ULong, includingArray<ULong>, nullable values, maps, and Promise results. Arrays keep their existing public type and need no Kotlin mapping pass or experimental opt-in.JNI uses the real
ULongconstructor andunbox-impl, protected by narrow consumer rules. Generated JNI entry points have explicit JVM names where Kotlin value classes would mangle them. The unsigned regression cases from #1999 and #2008 are preserved here.Second in the stack: #2017 → #1997 → #2009.
Validated Kotlin compilation, Nitrogen output, generated Android JNI compilation, and minified Android runtime roundtrips for unsigned boundaries, arrays, nested nullable arrays, maps, and generic result boxes. Removing the consumer rule reproduces a missing-method failure.