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

Comparing jsr166/src/main/java/util/concurrent/ConcurrentSkipListMap.java (file contents):
Revision 1.162 by jsr166, Sun Jun 5 20:32:25 2016 UTC vs.
Revision 1.163 by jsr166, Wed Jun 15 20:16:10 2016 UTC

# Line 808 | Line 808 | public class ConcurrentSkipListMap<K,V>
808                          break; // restart if lost race to replace value
809                      }
810                      // else c < 0; fall through
811 +                } else if (b == head.node) {
812 +                    // map is empty, so type check key now
813 +                    cpr(cmp, key, key);
814                  }
815  
816                  z = new Node<K,V>(key, value, n);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines