--- old/src/share/classes/java/lang/ref/Reference.java 2013-07-25 13:29:14.000000000 -0700 +++ new/src/share/classes/java/lang/ref/Reference.java 2013-07-25 13:29:13.000000000 -0700 @@ -96,6 +96,7 @@ * Enqueued: next reference in queue (or this if last) * Inactive: this */ + @SuppressWarnings("rawtypes") Reference next; /* When active: next element in a discovered reference list maintained by GC (or this if last) @@ -119,7 +120,7 @@ * them. This list is protected by the above lock object. The * list uses the discovered field to link its elements. */ - private static Reference pending = null; + private static Reference pending = null; /* High-priority thread to enqueue pending References */ @@ -131,7 +132,7 @@ public void run() { for (;;) { - Reference r; + Reference r; synchronized (lock) { if (pending != null) { r = pending; @@ -166,7 +167,7 @@ continue; } - ReferenceQueue q = r.queue; + ReferenceQueue q = r.queue; if (q != ReferenceQueue.NULL) q.enqueue(r); } }