JDK-8354282 : C2: more crashes in compiled code because of dependency on removed range check CastIIs
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 17,21,25,26
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-04-10
  • Updated: 2026-01-05
  • Resolved: 2025-12-10
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 JDK 27
26Fixed 27 b02Fixed
Related Reports
Blocks :  
Relates :  
Description
Attached patch to test TestArrayAccessAboveRCAfterRCCastIIEliminated demonstrates variant of already fixed JDK-8332827: crash in compiled code due to out of bound array access above range check.
Comments
A pull request was submitted for review. Branch: jdk26 URL: https://git.openjdk.org/jdk/pull/28892 Date: 2025-12-18 08:30:52 +0000
18-12-2025

Changeset: 00068a80 Branch: master Author: Roland Westrelin <roland@openjdk.org> Date: 2025-12-10 08:45:20 +0000 URL: https://git.openjdk.org/jdk/commit/00068a80304a809297d0df8698850861e9a1c5e9
10-12-2025

Deferring to JDK 26 as discussed in the PR.
13-05-2025

ILW = Same as JDK-8332827 = P3
11-04-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/24575 Date: 2025-04-10 15:15:54 +0000
10-04-2025