JDK-8341277 : Validate slot argument for instruction factories
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang.classfile
  • Affected Version: 24
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-09-30
  • Updated: 2024-10-07
  • Resolved: 2024-10-02
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 24
24 b18Fixed
Related Reports
CSR :  
Description
Load, store, increment, and discontinued ret instructions take slot arguments. Yet they do not validate that the slot is representable in their structure. We should make invalid arguments to create such instructions to throw IllegalArgumentException.
Comments
Changeset: 39c17b39 Branch: master Author: Chen Liang <liach@openjdk.org> Date: 2024-10-02 03:30:02 +0000 URL: https://git.openjdk.org/jdk/commit/39c17b392699007496816f788fca9fbe670dd6f8
02-10-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/21275 Date: 2024-09-30 23:36:35 +0000
30-09-2024