-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 24, 25
-
Component/s: core-libs
-
None
A method like CodeBuilder::loadLocal(TypeKind tk, int slot) does not verify if the slot is within a valid range. Consequently, it allows an invalid slot (such as -1) to pass through without rejection, resulting in the successful creation of the code model despite the error.
- relates to
-
JDK-8341141 Optimize DirectCodeBuilder
-
- Resolved
-
-
JDK-8341277 Validate slot argument for instruction factories
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/32dc41c9
-
Review(master)
openjdk/jdk/23522