hg: jdk8/tl/jdk: 8024331: j.u.Map.computeIfPresent()	default/nondefault implementations don't throw NPE if the	remappingFunction is null and the key is absent
    brian.burkhalter at oracle.com 
    brian.burkhalter at oracle.com
       
    Fri Sep 20 15:13:59 PDT 2013
    
    
  
Changeset: 2552cd270350
Author:    bpb
Date:      2013-09-20 15:12 -0700
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/2552cd270350
8024331: j.u.Map.computeIfPresent() default/nondefault implementations don't throw NPE if the remappingFunction is null and the key is absent
Summary: Explicitly check for null remappingFunction parameter.
Reviewed-by: mduigou, forax, psandoz
Contributed-by: Brian Burkhalter <brian.burkhalter at oracle.com>
! src/share/classes/java/util/HashMap.java
! src/share/classes/java/util/Map.java
! test/java/util/Map/Defaults.java
    
    
More information about the serviceability-dev
mailing list