Skip to content

Conversation

jonalmeida
Copy link
Contributor

With R8 fullMode enabled, classes that extend from com.sun.jna.* are all removed, so we should be explicit to include those.

We discovered this in mozilla-mobile/reference-browser#3885 and our patch verified that updating our proguard rules resolve the problem: mozilla/application-services#6979

Additionally, shipping a consumer proguard file would allow consumers to benefit from proguard changes supplied by JNA. Mentioning this is only for your consideration. 🙂

With R8 fullMode enabled, classes that extend from `com.sun.jna.*` are all removed, so we should be explicit to include those.
@matthiasblaesing matthiasblaesing merged commit c401bca into java-native-access:master Sep 30, 2025
12 checks passed
@matthiasblaesing
Copy link
Member

Makes sense to me, might be overreaching, but the overhead should be minimal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants