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

Comparing jsr166/src/main/java/util/concurrent/LinkedBlockingQueue.java (file contents):
Revision 1.102 by jsr166, Wed Dec 21 22:19:55 2016 UTC vs.
Revision 1.103 by jsr166, Mon Dec 26 17:29:35 2016 UTC

# Line 894 | Line 894 | public class LinkedBlockingQueue<E> exte
894                              e = p.item;
895                              p = succ(p);
896                          } while (e == null && p != null);
897 <                    exhausted = ((current = p) == null);
897 >                    if ((current = p) == null)
898 >                        exhausted = true;
899                  } finally {
900                      fullyUnlock();
901                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines