-
Bug
-
Resolution: Fixed
-
P1
-
16.0.1, 17, 18
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8272399 | 17.0.2 | Vladimir Kozlov | P1 | Resolved | Fixed | b01 |
JDK-8272675 | 17.0.1 | Vladimir Kozlov | P1 | Closed | Fixed | b08 |
Following test case results into a fatal error.
public static final int LEN = 128;
public static void rleft(int [] arr, int [] res, int shift) {
for(int i = 0 ; i < LEN ; i++) {
res[i] = Integer.rotateRight(arr[i], arr[i]);
}
}
Problem exists since JDK-16 onwards.
java -version
openjdk version "16.0.1" 2021-04-20
OpenJDK Runtime Environment (build 16.0.1+9-24)
OpenJDK 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)
public static final int LEN = 128;
public static void rleft(int [] arr, int [] res, int shift) {
for(int i = 0 ; i < LEN ; i++) {
res[i] = Integer.rotateRight(arr[i], arr[i]);
}
}
Problem exists since JDK-16 onwards.
java -version
openjdk version "16.0.1" 2021-04-20
OpenJDK Runtime Environment (build 16.0.1+9-24)
OpenJDK 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)
- backported by
-
JDK-8272399 Fatal error with variable shift count integer rotate operation.
-
- Resolved
-
-
JDK-8272675 Fatal error with variable shift count integer rotate operation.
-
- Closed
-
- relates to
-
JDK-8248830 C2: Optimize Rotate API on x86
-
- Resolved
-
- links to
-
Commit openjdk/jdk17u/9c213825
-
Commit openjdk/jdk/392fcc9d
-
Review openjdk/jdk17u/12
-
Review openjdk/jdk/4956
(2 links to)