RFR: JDK-8312203: Improve specification of Array.newInstance

Brian Burkhalter bpb at openjdk.org
Tue Jul 18 17:33:08 UTC 2023


On Tue, 18 Jul 2023 04:42:31 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> Change one overload of java.lang.reflect.Array.newInstance to have an `@implSpec` of calling the other method.
> 
> I choose not to use a snippet tag here is this code is semantically only one line and doesn't need to be cut-and-pasted.
> 
> As adding an `@implSpec` is technically a (small) specification change, please also review the CSR:
> 
> https://bugs.openjdk.org/browse/JDK-8312208

CSR and PR look fine.

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

Marked as reviewed by bpb (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14917#pullrequestreview-1535584529


More information about the core-libs-dev mailing list