Skip to content
Browse files

Added some members that should not be removed or renamed

  • Loading branch information...
1 parent 9f22a70 commit 887a32bc108bf6c9f8af7bf0d7b5f468ebf41ad7 @csoren csoren committed Dec 21, 2012
Showing with 36 additions and 0 deletions.
  1. +36 −0 openjdk.pro
View
36 openjdk.pro
@@ -246,3 +246,39 @@
}
-keep class sun.net.www.protocol.jar.Handler
+
+# These concurrent classes refer to certain members reflectively in their static initializers
+-keepclassmembers class java.util.concurrent.ConcurrentHashMap$HashEntry {
+ *** next;
+}
+
+-keepclassmembers class java.util.concurrent.CopyOnWriteArrayList {
+ *** lock;
+}
+
+-keepclassmembers class java.util.concurrent.CountDownLatch {
+ *** allocationSpinLock;
+}
+
+-keepclassmembers class java.util.concurrent.PriorityBlockingQueue {
+ *** allocationSpinLock;
+}
+
+-keepclassmembers class java.util.concurrent.SynchronousQueue$TransferStack {
+ *** head;
+}
+
+-keepclassmembers class java.util.concurrent.ConcurrentLinkedQueue {
+ *** head;
+ *** tail;
+}
+
+-keepclassmembers class java.util.concurrent.ConcurrentLinkedQueue$Node {
+ *** item;
+ *** next;
+}
+
+-keepclassmembers class java.util.concurrent.SynchronousQueue$TransferStack$SNode {
+ *** match;
+ *** next;
+}

0 comments on commit 887a32b

Please sign in to comment.
Something went wrong with that request. Please try again.