[lworld] Integrated: 8329218: [lworld] Arrays.copyOf and Arrays.copyOfRange support for null-restricted arrays

Mandy Chung mchung at openjdk.org
Fri Apr 5 20:55:09 UTC 2024


On Wed, 3 Apr 2024 16:21:29 GMT, Mandy Chung <mchung at openjdk.org> wrote:

> `Arrays::copyOf` and `Arrays::copyOfRange` should return a null-restricted array if the input array is null-restricted.   The intrinsification for these methods will need to be updated ([JDK-8329218](https://bugs.openjdk.org/browse/JDK-8329218)).  Three test cases in `test/hotspot/jtreg/compiler/valhalla/inlinetypes/TestArrays.java` are commented out until JDK-8329218 is resolved.

This pull request has now been integrated.

Changeset: 221b1da7
Author:    Mandy Chung <mchung at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/221b1da7224356c3555c68718a893a876317aac8
Stats:     118 lines in 6 files changed: 91 ins; 11 del; 16 mod

8329218: [lworld] Arrays.copyOf and Arrays.copyOfRange support for null-restricted arrays

Reviewed-by: rriggs

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

PR: https://git.openjdk.org/valhalla/pull/1070



More information about the valhalla-dev mailing list