Repository navigation
[jnigen] Update kotlin-metadata-jvm - #3297
Merged
Merged
Conversation
PR HealthChangelog Entry ✔️
Changes to files need to be accounted for in their respective changelogs. This check can be disabled by tagging the PR with Breaking changes ✔️
This check can be disabled by tagging the PR with API leaks ✔️The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.
This check can be disabled by tagging the PR with |
liamappelbe
marked this pull request as ready for review
April 13, 2026 02:09
dcharkes
approved these changes
Apr 13, 2026
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.
Update to
kotlin-metadata-jvm:2.2.0, to fix #3269This metadata reading package underpins JNIgen's internal API summarizer package. Some of the methods have changed names, but the bigger change is that a bunch of annotations have migrated from being stored in bitmasks (in various flags fields) to just being getters. For example, instead of checking
fun.flagsforFlag.Function.IS_SUSPEND, we now doAttributes.isSuspend(f). So for the most part I just had to update how our API summarizer package talked to the kotlin metadata pacakge.There are corresponding
flagsfields inelements.dartandelements.g.dart, but they appear to be dead code, so I just deleted them.