-
Bug
-
Resolution: Fixed
-
P5
-
16, 17
-
b05
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8260981 | 16.0.2 | Tobias Hartmann | P5 | Resolved | Fixed | b01 |
JDK-8260884 | 16.0.1 | Tobias Hartmann | P5 | Resolved | Fixed | b04 |
SonarCloud demo instance reports the issue here:
case Op_VectorMaskCmp: {
n->set_req(1, new BinaryNode(n->in(1), n->in(2)));
n->set_req(2, n->in(3));
n->del_req(3);
break;
default: // <----- ERROR
break;
}
"The direct parent of this switch-label is not the body of a switch statement."
This is added byJDK-8223347, and it is an obviously misplaced curly-brace. It is innocious in current code, but may become problematic as more cases are added to the switch.
case Op_VectorMaskCmp: {
n->set_req(1, new BinaryNode(n->in(1), n->in(2)));
n->set_req(2, n->in(3));
n->del_req(3);
break;
default: // <----- ERROR
break;
}
"The direct parent of this switch-label is not the body of a switch statement."
This is added by
- backported by
-
JDK-8260884 Misplaced curly brace in Matcher::find_shared_post_visit
- Resolved
-
JDK-8260981 Misplaced curly brace in Matcher::find_shared_post_visit
- Resolved
- relates to
-
JDK-8223347 Integration of Vector API (Incubator)
- Resolved
- links to
-
Commit openjdk/jdk16u/f8af3b55
-
Commit openjdk/jdk/4697cfa4
-
Review openjdk/jdk16u/11
-
Review openjdk/jdk/2031
(2 links to)