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.19 by jsr166, Thu Sep 16 00:52:49 2010 UTC vs.
Revision 1.22 by jsr166, Fri May 27 19:39:07 2011 UTC

# Line 1 | Line 1
1   /*
2   * Written by Doug Lea with assistance from members of JCP JSR-166
3   * Expert Group and released to the public domain, as explained at
4 < * http://creativecommons.org/licenses/publicdomain
4 > * http://creativecommons.org/publicdomain/zero/1.0/
5   * Other contributors include Andrew Wright, Jeffrey Hayes,
6   * Pat Fisher, Mike Judd.
7   */
# Line 34 | Line 34 | public class AtomicReferenceFieldUpdater
34          } catch (RuntimeException success) {}
35      }
36  
37
37      /**
38       * construction with field not of given type throws RuntimeException
39       */
# Line 60 | Line 59 | public class AtomicReferenceFieldUpdater
59      }
60  
61      /**
62 <     *  get returns the last value set or assigned
62 >     * get returns the last value set or assigned
63       */
64      public void testGetSet() {
65          AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer>a;
# Line 78 | Line 77 | public class AtomicReferenceFieldUpdater
77      }
78  
79      /**
80 <     *  get returns the last value lazySet by same thread
80 >     * get returns the last value lazySet by same thread
81       */
82      public void testGetLazySet() {
83          AtomicReferenceFieldUpdater<AtomicReferenceFieldUpdaterTest, Integer>a;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines