RFR: 8357597: Proxy.getInvocationHandler throws NullPointerException instead of IllegalArgumentException for null
Jaikiran Pai
jpai at openjdk.org
Mon May 26 05:46:50 UTC 2025
On Fri, 23 May 2025 16:05:08 GMT, Steffen Nießing <duke at openjdk.org> wrote:
> `Proxy#getInvocationHandler(Object)` throws a `NullPointerException` if the specified argument is `null`. This PR adds the missing `throws` declaration for the NPE.
The change looks OK to me. Please update the copyright year on the file from `1999, 2024,` to `1999, 2025,`.
-------------
Marked as reviewed by jpai (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/25419#pullrequestreview-2867281818
More information about the core-libs-dev
mailing list