Code Review Request: 7160242: (prefs) Preferences.remove(null) does not throw NPE [macosx] (original) (raw)
Kurchi Subhra Hazra kurchi.subhra.hazra at oracle.com
Fri Apr 20 19:09:55 UTC 2012
- Previous message: hg: jdk8/tl/corba: 7161925: sjava files in corba don't have copyright string and legal notice
- Next message: Code Review Request: 7160242: (prefs) Preferences.remove(null) does not throw NPE [macosx]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
This change inserts a null check for the key being passed to Preferences.remove() on Mac, so that the method throws a NullPointerException when key is null (according to its specification).
Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7160242 Webrev: http://cr.openjdk.java.net/~khazra/7160242/webrev.00/ Thanks, Kurchi
- Previous message: hg: jdk8/tl/corba: 7161925: sjava files in corba don't have copyright string and legal notice
- Next message: Code Review Request: 7160242: (prefs) Preferences.remove(null) does not throw NPE [macosx]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]