Here are news items that affect the core assignments and class material.
--- jmm1/UnsafeMemory.java 2014-05-01 21:49:52.204313333 -0700 +++ jmm2/UnsafeMemory.java 2014-05-09 15:39:35.772566714 -0700 @@ -6,9 +6,9 @@ int nThreads = parseInt (args[1], 1, Integer.MAX_VALUE); int nTransitions = parseInt (args[2], 0, Integer.MAX_VALUE); byte maxval = (byte) parseInt (args[3], 0, 127); - byte[] value = new byte[args.length - 3]; - for (int i = 3; i < args.length; i++) - value[i - 3] = (byte) parseInt (args[i], 0, maxval); + byte[] value = new byte[args.length - 4]; + for (int i = 4; i < args.length; i++) + value[i - 4] = (byte) parseInt (args[i], 0, maxval); byte[] stateArg = value.clone(); State s; if (args[0].equals("Null")) @@ -79,7 +79,7 @@ } private static void error(String s, long i, long j) { - System.err.format("%s (%ld != %ld)\n", s, i, j); + System.err.format("%s (%d != %d)\n", s, i, j); System.exit(1); } }