RFR: 8357597: Proxy.getInvocationHandler throws NullPointerException instead of IllegalArgumentException for null [v2]

Jaikiran Pai jpai at openjdk.org
Mon May 26 15:56:55 UTC 2025


On Mon, 26 May 2025 15:48:10 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.
>
> Steffen Nießing has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8357597: Update copyright year

Thank you for the update. Looks good to me.

-------------

Marked as reviewed by jpai (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25419#pullrequestreview-2868813762


More information about the core-libs-dev mailing list