aboutsummaryrefslogtreecommitdiff
path: root/proguard/cache.pro
diff options
context:
space:
mode:
Diffstat (limited to 'proguard/cache.pro')
-rw-r--r--proguard/cache.pro12
1 files changed, 12 insertions, 0 deletions
diff --git a/proguard/cache.pro b/proguard/cache.pro
new file mode 100644
index 000000000..a67733b9e
--- /dev/null
+++ b/proguard/cache.pro
@@ -0,0 +1,12 @@
+# Striped64 uses this
+-dontwarn sun.misc.Unsafe
+
+# Striped64 appears to make some assumptions about object layout that
+# really might not be safe. This should be investigated.
+-keepclassmembers class com.google.common.cache.Striped64 {
+ *** base;
+ *** busy;
+}
+-keepclassmembers class com.google.common.cache.Striped64$Cell {
+ <fields>;
+}