summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPekka Enberg <penberg@kernel.org>2011-01-21 19:59:14 +0000
committerPekka Enberg <penberg@kernel.org>2011-01-21 19:59:14 +0000
commit619328402e3b911276ec054ea5654b6e0b620934 (patch)
tree475882187082bd58997558c746ee63b253f248e3 /ChangeLog
parent75fa6e7bf636b038835dbb63c133c7e1b79cd048 (diff)
downloadclasspath-619328402e3b911276ec054ea5654b6e0b620934.tar.gz
Fix java.lang.Class field and method API for null names
2011-01-21 Pekka Enberg <penberg@kernel.org> * java/lang/Class.java: (getDeclaredField): Throw NullPointerException instead of NoSuchFieldException if name is null. (getField): Likewise. (getDeclaredMethod): Throw NullPointerException instead of NoSuchMethodException if name is null. (getMethod): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8d7f07322..4d0bf6dbd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2011-01-21 Pekka Enberg <penberg@kernel.org>
+
+ * java/lang/Class.java:
+ (getDeclaredField): Throw NullPointerException instead of
+ NoSuchFieldException if name is null.
+ (getField): Likewise.
+ (getDeclaredMethod): Throw NullPointerException instead of
+ NoSuchMethodException if name is null.
+ (getMethod): Likewise.
+
2010-12-25 Andrew John Hughes <ahughes@redhat.com>
PR classpath/42390