| JDK 24 |
|---|
| 24 b05Fixed |
|
Relates :
|
Branch condition for r_array_index wraparound checking in lookup_secondary_supers_table_slow_path is wrong.
```
// Check for wraparound.
Label skip;
bge(r_array_length, r_array_index, skip);
mv(r_array_index, zr);
bind(skip);
```
As discussed at https://github.com/openjdk/jdk/pull/19320/files#r1650548279 here. If length == index, then we must set index to 0. That is `blt(r_array_index,r_array_length,skip);`.
|