-
Bug
-
Resolution: Fixed
-
P4
-
8, 9
-
b62
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8085490 | emb-9 | Vicente Arturo Romero Zaldivar | P4 | Resolved | Fixed | team |
JDK-8258780 | openjdk8u292 | Peter Zhelezniakov | P4 | Resolved | Fixed | b05 |
During inference, there are several incorporation steps which transitively add new constraints starting from an initial constraint set. Some of them can detect and report errors if a transitivity rule doesn't hold.
For example if a type variable T has bounds T<: U and L <: T then L <: U should hold if this is not the case an error should be issued. Early detection of these issues can save several iterations over an unsolvable constraint set. Right now some incorporation steps fail if the condition they check doesn't hold and some don't. For completeness, consistency, and probably performance, it makes sense to uniform them.
For example if a type variable T has bounds T<: U and L <: T then L <: U should hold if this is not the case an error should be issued. Early detection of these issues can save several iterations over an unsolvable constraint set. Right now some incorporation steps fail if the condition they check doesn't hold and some don't. For completeness, consistency, and probably performance, it makes sense to uniform them.
- backported by
-
JDK-8085490 javac, several incorporation steps are silently failing when an error should be reported
-
- Resolved
-
-
JDK-8258780 javac, several incorporation steps are silently failing when an error should be reported
-
- Resolved
-
- relates to
-
JDK-8265527 tools/javac/diags/CheckExamples.java fails after JDK-8078024 8u backport
-
- Resolved
-
-
JDK-8130803 add regression test related to fix for JDK-8078024
-
- Closed
-