[lworld] RFR: 8329218: [lworld] Arrays.copyOf and Arrays.copyOfRange support for null-restricted arrays
Mandy Chung
mchung at openjdk.org
Wed Apr 3 17:50:10 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.
As of now, the class mirror is the same for normal and null-restricted array.
-------------
PR Comment: https://git.openjdk.org/valhalla/pull/1070#issuecomment-2035219458
More information about the valhalla-dev
mailing list