RFR: 8021591 : (s) Additional explicit null checks

Mike Duigou mike.duigou at oracle.com
Fri Jul 26 23:31:17 UTC 2013


Hello all;

This patch adds some missing checks for null that, according to interface contract, should be throwing NPE. It also improves the existing tests to check for these cases. 

http://cr.openjdk.java.net/~mduigou/JDK-8021591/0/webrev/

The changes to src/share/classes/java/util/concurrent/ConcurrentHashMap.java will be synchronized separately with the jsr166 workspace. They are part of this review to avoid test failures.

Mike


More information about the core-libs-dev mailing list