ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ConcurrentHashMapTest.java
(Generate patch)

Comparing jsr166/src/test/tck/ConcurrentHashMapTest.java (file contents):
Revision 1.40 by jsr166, Wed Dec 31 19:05:42 2014 UTC vs.
Revision 1.42 by jsr166, Sun Feb 22 04:34:44 2015 UTC

# Line 287 | Line 287 | public class ConcurrentHashMapTest exten
287          assertEquals("A", (String)map.get(one));
288          ConcurrentHashMap empty = new ConcurrentHashMap();
289          assertNull(map.get("anything"));
290 +        assertNull(empty.get("anything"));
291      }
292  
293      /**
# Line 589 | Line 590 | public class ConcurrentHashMapTest exten
590          assertFalse(map2.equals(map1));
591      }
592  
592
593      /**
594       * get(null) throws NPE
595       */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines