JDK-8371628 : C2: add a test case for the arraycopy changes in JDK-8297933
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-11-11
  • Updated: 2025-11-24
  • Resolved: 2025-11-14
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.
JDK 26
26 b25Fixed
Related Reports
Relates :  
Relates :  
Description
It looks like we don't have a specific test case for the arraycopy bug fixed in JDK-8297933.  If I back out the fix, tiers 1-4 pass.
Comments
Changeset: 1baf5164 Branch: master Author: Daniel Skantz <dskantz@openjdk.org> Date: 2025-11-14 07:09:05 +0000 URL: https://git.openjdk.org/jdk/commit/1baf5164d6a9077e0c440b7b78be6424a052f8a9
14-11-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/28269 Date: 2025-11-12 15:58:00 +0000
12-11-2025

Very nice!
11-11-2025

Here's a reproducer: https://github.com/openjdk/jdk/compare/master...danielogh:jdk:add-missing-arraycopy-test?expand=1 But the test could be annotated some more.
11-11-2025