Integrated: 8357597: Proxy.getInvocationHandler throws NullPointerException instead of IllegalArgumentException for null
Steffen Nießing
duke at openjdk.org
Wed May 28 01:57:57 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.
This pull request has now been integrated.
Changeset: 4cad4379
Author: Steffen Nießing <zuniquex at protonmail.com>
Committer: SendaoYan <syan at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/4cad437956ff75a377adba8a760e19dc6cf7dc8d
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
8357597: Proxy.getInvocationHandler throws NullPointerException instead of IllegalArgumentException for null
Reviewed-by: rriggs, jpai, liach
-------------
PR: https://git.openjdk.org/jdk/pull/25419
More information about the core-libs-dev
mailing list