ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/AtomicReferenceFieldUpdaterTest.java
(Generate patch)

Comparing jsr166/src/test/tck/AtomicReferenceFieldUpdaterTest.java (file contents):
Revision 1.16 by jsr166, Sat Nov 21 02:07:26 2009 UTC vs.
Revision 1.17 by jsr166, Sat Nov 21 17:38:05 2009 UTC

# Line 31 | Line 31 | public class AtomicReferenceFieldUpdater
31                  a = AtomicReferenceFieldUpdater.newUpdater
32                  (AtomicReferenceFieldUpdaterTest.class, Integer.class, "y");
33              shouldThrow();
34 <        }
35 <        catch (RuntimeException rt) {}
34 >        } catch (RuntimeException success) {}
35      }
36  
37  
# Line 45 | Line 44 | public class AtomicReferenceFieldUpdater
44                  a = AtomicReferenceFieldUpdater.newUpdater
45                  (AtomicReferenceFieldUpdaterTest.class, Integer.class, "z");
46              shouldThrow();
47 <        }
49 <        catch (RuntimeException rt) {}
47 >        } catch (RuntimeException success) {}
48      }
49  
50      /**
# Line 58 | Line 56 | public class AtomicReferenceFieldUpdater
56                  a = AtomicReferenceFieldUpdater.newUpdater
57                  (AtomicReferenceFieldUpdaterTest.class, Integer.class, "w");
58              shouldThrow();
59 <        }
62 <        catch (RuntimeException rt) {}
59 >        } catch (RuntimeException success) {}
60      }
61  
62      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines