ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/Random.java
(Generate patch)

Comparing jsr166/src/main/java/util/Random.java (file contents):
Revision 1.15 by jsr166, Thu Feb 16 08:17:21 2006 UTC vs.
Revision 1.16 by jsr166, Thu Feb 16 08:30:29 2006 UTC

# Line 523 | Line 523 | class Random implements java.io.Serializ
523          try {
524              seedOffset = unsafe.objectFieldOffset
525                  (Random.class.getDeclaredField("seed"));
526 <            } catch (Exception ex) { throw new Error(ex); }
526 >        } catch (Exception ex) { throw new Error(ex); }
527      }
528      private void resetSeed(long seedVal) {
529          unsafe.putObjectVolatile(this, seedOffset, new AtomicLong(seedVal));
530      }
531
531   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines