hg: jdk8/tl/jdk: 7160242: (prefs) Preferences.remove(null) does not throw NPE [macosx]
kurchi.subhra.hazra at oracle.com
kurchi.subhra.hazra at oracle.com
Wed Apr 25 19:32:25 UTC 2012
Changeset: 3e398b549cea
Author: khazra
Date: 2012-04-25 12:31 -0700
URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/3e398b549cea
7160242: (prefs) Preferences.remove(null) does not throw NPE [macosx]
Summary: Insert null check of argument in remove()'s implementation
Reviewed-by: forax, chegar, alanb
! src/macosx/classes/java/util/prefs/MacOSXPreferences.java
+ test/java/util/prefs/RemoveNullKeyCheck.java
More information about the security-dev
mailing list