diff -r 1fa861caf840 -r 2ee9017c7597 jdk/src/java.base/share/classes/java/lang/ref/Reference.java --- a/jdk/src/java.base/share/classes/java/lang/ref/Reference.java Wed Sep 16 08:24:40 2015 -0400 +++ b/jdk/src/java.base/share/classes/java/lang/ref/Reference.java Tue Sep 15 21:56:04 2015 -0700 @@ -107,7 +107,7 @@ * pending: next element in the pending list (or null if last) * otherwise: NULL */ - transient private Reference discovered; /* used by VM */ + private transient Reference discovered; /* used by VM */ /* Object used to synchronize with the garbage collector. The collector @@ -115,7 +115,7 @@ * therefore critical that any code holding this lock complete as quickly * as possible, allocate no new objects, and avoid calling user code. */ - static private class Lock { } + private static class Lock { } private static Lock lock = new Lock();