On Fri, 23 May 2025 16:05:08 GMT, Steffen Nießing <d...@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 <zuniq...@protonmail.com> Committer: SendaoYan <s...@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