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

Chen Liang liach at openjdk.org
Mon May 26 15:50:54 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

Marked as reviewed by liach (Reviewer).

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

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


More information about the core-libs-dev mailing list