JDK-8329218 : [lworld] Arrays.copyOf and Arrays.copyOfRange support for null-restricted arrays
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-03-27
  • Updated: 2024-04-05
  • Resolved: 2024-04-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
repo-valhallaFixed
Related Reports
Relates :  
Relates :  
Description
Arrays.copyOf and Arrays.copyOfRange should return null-restricted array if the original array is null-restricted.

VM intrinsification for these APIs needs to be updated as well.
Comments
A pull request was submitted for review. URL: https://git.openjdk.org/valhalla/pull/1070 Date: 2024-04-03 16:21:29 +0000
03-04-2024