Details
-
Bug
-
Resolution: Fixed
-
P2
-
8u281, 11, 16, 17
-
b23
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8267408 | 11.0.13-oracle | Tobias Hartmann | P2 | Closed | Fixed | b01 |
JDK-8268244 | 11.0.13 | Roland Westrelin | P2 | Resolved | Fixed | b01 |
Description
ADDITIONAL SYSTEM INFORMATION :
JDK: 11.0.11
A DESCRIPTION OF THE PROBLEM :
JDK: 11.0.11
Minimum Reproducible Code: https://github.com/chhsiao90/jdk-8257594-bug
When running the main function of PropertyInfoSetResolver, java.lang.ClassCastException was thrown while several iterations.
Bug is only reproducible on 11.0.11 and 16.0.1.
It looks like it's JIT optimization issue, might be introduced by https://bugs.openjdk.java.net/browse/JDK-8257594
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Clones the git repository from github: https://github.com/chhsiao90/jdk-8257594-bug
Run the main function of PropertyInfoSetResolver
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Run without error
ACTUAL -
java.lang.ClassCastException after several iteration
---------- BEGIN SOURCE ----------
https://github.com/chhsiao90/jdk-8257594-bug
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Downgrade JDK to 11.0.10
FREQUENCY : always
JDK: 11.0.11
A DESCRIPTION OF THE PROBLEM :
JDK: 11.0.11
Minimum Reproducible Code: https://github.com/chhsiao90/jdk-8257594-bug
When running the main function of PropertyInfoSetResolver, java.lang.ClassCastException was thrown while several iterations.
Bug is only reproducible on 11.0.11 and 16.0.1.
It looks like it's JIT optimization issue, might be introduced by https://bugs.openjdk.java.net/browse/JDK-8257594
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Clones the git repository from github: https://github.com/chhsiao90/jdk-8257594-bug
Run the main function of PropertyInfoSetResolver
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Run without error
ACTUAL -
java.lang.ClassCastException after several iteration
---------- BEGIN SOURCE ----------
https://github.com/chhsiao90/jdk-8257594-bug
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Downgrade JDK to 11.0.10
FREQUENCY : always
Attachments
Issue Links
- backported by
-
JDK-8268244 C2 incorrectly folds subtype checks involving an interface array
- Resolved
-
JDK-8267408 C2 incorrectly folds subtype checks involving an interface array
- Closed
- links to
-
Commit openjdk/jdk11u-dev/be0b9b17
-
Commit openjdk/jdk/ce88b334
-
Review openjdk/jdk11u-dev/15
-
Review openjdk/jdk/4060
(1 links to)