2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-10-31 09:20:25 +00:00

Proguard/r8: Do not allow access modification.

This optimization pass changes internals to become public and thus JNA trying to read their "native size".
This is a bug in R8 (the optimizer in use).

Upstream bug report: https://issuetracker.google.com/issues/157535162,
which is a duplicate of
https://issuetracker.google.com/issues/131130038.

Bug fix: https://r8-review.googlesource.com/c/r8/+/51323/
This fix will be available in r8 v2.1.28, probably getting released next week or so.
This commit is contained in:
Jan-Erik Rediger 2020-05-29 11:44:58 +02:00 committed by Michael Comella
parent 88fe3fbf82
commit 98bf27fdd4

View File

@ -20,7 +20,6 @@
# thoroughly if you go this route.
-optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/*
-optimizationpasses 5
-allowaccessmodification
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses