Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8056863 | emb-9 | Unassigned | P3 | Resolved | Fixed | b24 |
JDK-8050211 | 7-pool | Vicente Arturo Romero Zaldivar | P3 | Closed | Won't Fix |
The following test case causes verification errors. This is the simplest
possible test case to recreate the issue.
public class BugDemo {
int jj_ntk;
public static void main(String[] args) {
BugDemo bd = new BugDemo();
bd.jj_ntk = args.length;
bd.foo();
}
final public void foo(){
while (true) {
int i =0;
switch (jj_ntk) {
case 1:
break;
default: ;
}
break;
}
switch (jj_ntk) {
case 1:
A j2 = (A)A.create(this);
break;
default:
swap();
}
}
public int jj_ntk() {
return jj_ntk;
}
public void swap() {
jj_ntk = (jj_ntk == 1)? 0:1;
}
}
class A {
public static A create(Object obj) {
return new A();
}
}
- backported by
-
JDK-8056863 Verification error due to a bad stackmap frame generated by javac
-
- Resolved
-
-
JDK-8050211 Verification error due to a bad stackmap frame generated by javac
-
- Closed
-
- relates to
-
JDK-8050283 fix for JDK-8049305 should be removed
-
- Closed
-
-
JDK-8050386 javac, follow-up of fix for JDK-8049305
-
- Closed
-