--- jsr166/src/test/tck/AtomicReferenceFieldUpdaterTest.java 2009/11/21 02:07:26 1.16 +++ jsr166/src/test/tck/AtomicReferenceFieldUpdaterTest.java 2009/11/21 17:38:05 1.17 @@ -31,8 +31,7 @@ public class AtomicReferenceFieldUpdater a = AtomicReferenceFieldUpdater.newUpdater (AtomicReferenceFieldUpdaterTest.class, Integer.class, "y"); shouldThrow(); - } - catch (RuntimeException rt) {} + } catch (RuntimeException success) {} } @@ -45,8 +44,7 @@ public class AtomicReferenceFieldUpdater a = AtomicReferenceFieldUpdater.newUpdater (AtomicReferenceFieldUpdaterTest.class, Integer.class, "z"); shouldThrow(); - } - catch (RuntimeException rt) {} + } catch (RuntimeException success) {} } /** @@ -58,8 +56,7 @@ public class AtomicReferenceFieldUpdater a = AtomicReferenceFieldUpdater.newUpdater (AtomicReferenceFieldUpdaterTest.class, Integer.class, "w"); shouldThrow(); - } - catch (RuntimeException rt) {} + } catch (RuntimeException success) {} } /**