- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    24, 25
- 
    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 Commit(master)
        openjdk/jdk/32dc41c9
- 
                     Review(master)
        openjdk/jdk/23522 Review(master)
        openjdk/jdk/23522