RFR: 8357597: Proxy.getInvocationHandler throws NullPointerException instead of IllegalArgumentException for null [v2]
Steffen Nießing
duke at openjdk.org
Mon May 26 15:48:10 UTC 2025
> `Proxy#getInvocationHandler(Object)` throws a `NullPointerException` if the specified argument is `null`. This PR adds the missing `throws` declaration for the NPE.
Steffen Nießing has updated the pull request incrementally with one additional commit since the last revision:
8357597: Update copyright year
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25419/files
- new: https://git.openjdk.org/jdk/pull/25419/files/e70cb289..38854aa1
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25419&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25419&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/25419.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25419/head:pull/25419
PR: https://git.openjdk.org/jdk/pull/25419
More information about the core-libs-dev
mailing list