| JDK 18 | JDK 19 |
|---|---|
| 18 b28Fixed | 19Fixed |
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
Similar to JDK-8259609 but for loop and range checks of the shape:
for (int i = start; i < stop; i += inc) {
Objects.checkIndex(scale * ((long)i) + offset, length);
}
and
for (int i = start; i < stop; i += inc) {
Objects.checkIndex(((long)(scale * i)) + offset, length);
}
|