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

Roger Riggs rriggs at openjdk.org
Fri May 23 16:18: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.

looks fine, will review the csr when its drafted.

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

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


More information about the core-libs-dev mailing list