RFR: 8357597: Proxy.getInvocationHandler throws NullPointerException instead of IllegalArgumentException for null
Chen Liang
liach at openjdk.org
Fri May 23 16:21:51 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.
I have created a CSR for this change.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25419#issuecomment-2905009702
More information about the core-libs-dev
mailing list