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

SendaoYan syan at openjdk.org
Wed May 28 01:57:57 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

GHA report several failures, most the test failures are static-jdk says `Unable to use shared archive`. I think the GHA test failures are unrelated to this PR.

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

PR Comment: https://git.openjdk.org/jdk/pull/25419#issuecomment-2914645336


More information about the core-libs-dev mailing list