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

Comparing jsr166/src/main/java/util/concurrent/LinkedTransferQueue.java (file contents):
Revision 1.8 by jsr166, Tue Oct 27 23:21:32 2009 UTC vs.
Revision 1.9 by jsr166, Wed Oct 28 00:00:38 2009 UTC

# Line 371 | Line 371 | public class LinkedTransferQueue<E> exte
371          }
372  
373          final boolean casItem(Object cmp, Object val) {
374 <            assert cmp.getClass() != Node.class;
374 >            assert cmp == null || cmp.getClass() != Node.class;
375              return UNSAFE.compareAndSwapObject(this, itemOffset, cmp, val);
376          }
377  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines