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

Joe Darcy darcy at openjdk.org
Tue Jul 18 22:42:53 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

This pull request has now been integrated.

Changeset: e5ecbff6
Author:    Joe Darcy <darcy at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e5ecbff69eeb83abbe70421b7f1540a5c382441a
Stats:     6 lines in 1 file changed: 1 ins; 3 del; 2 mod

8312203: Improve specification of Array.newInstance

Reviewed-by: bpb, mchung

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

PR: https://git.openjdk.org/jdk/pull/14917


More information about the core-libs-dev mailing list