RFR: JDK-8278953: Clarify Class.getDeclaredConstructor specification
Joe Darcy
darcy at openjdk.java.net
Mon Dec 20 21:56:36 UTC 2021
On Mon, 20 Dec 2021 20:48:35 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> This looks okay, just wondering if expanded NoSuchMethodException description warrants a CSR.
Hmm. I don't think a CSR is strictly necessary as the additional conditions are arguably implied by the rest of the spec, but I can run a quick CSR for this.
I have not written new regression tests for this fix, but quickly checked in jshell that the expected exceptions are indeed thrown.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6897
More information about the core-libs-dev
mailing list