--- jsr166/src/test/tck/AtomicIntegerFieldUpdaterTest.java 2009/11/21 02:07:26 1.15 +++ jsr166/src/test/tck/AtomicIntegerFieldUpdaterTest.java 2009/11/21 17:38:05 1.16 @@ -30,8 +30,7 @@ public class AtomicIntegerFieldUpdaterTe a = AtomicIntegerFieldUpdater.newUpdater (AtomicIntegerFieldUpdaterTest.class, "y"); shouldThrow(); - } - catch (RuntimeException rt) {} + } catch (RuntimeException success) {} } /** @@ -43,8 +42,7 @@ public class AtomicIntegerFieldUpdaterTe a = AtomicIntegerFieldUpdater.newUpdater (AtomicIntegerFieldUpdaterTest.class, "z"); shouldThrow(); - } - catch (RuntimeException rt) {} + } catch (RuntimeException success) {} } /** @@ -56,8 +54,7 @@ public class AtomicIntegerFieldUpdaterTe a = AtomicIntegerFieldUpdater.newUpdater (AtomicIntegerFieldUpdaterTest.class, "w"); shouldThrow(); - } - catch (RuntimeException rt) {} + } catch (RuntimeException success) {} } /**