diff options
| author | Pekka Enberg <penberg@kernel.org> | 2011-01-21 19:59:14 +0000 |
|---|---|---|
| committer | Pekka Enberg <penberg@kernel.org> | 2011-01-21 19:59:14 +0000 |
| commit | 619328402e3b911276ec054ea5654b6e0b620934 (patch) | |
| tree | 475882187082bd58997558c746ee63b253f248e3 /java/util/regex/Pattern.java | |
| parent | 75fa6e7bf636b038835dbb63c133c7e1b79cd048 (diff) | |
| download | classpath-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 'java/util/regex/Pattern.java')
0 files changed, 0 insertions, 0 deletions
