Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Added some members that should not be removed or renamed #25

Merged
merged 1 commit into from

2 participants

@csoren

I have found and added a couple of fields that should not be removed or renamed from the OpenJDK class library, as the classes refer to these reflectively in their static initializers.

@dicej dicej merged commit 887a32b into ReadyTalk:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 21, 2012
  1. @csoren
This page is out of date. Refresh to see the latest.
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;
+}
Something went wrong with that request. Please try again.