-
Bug
-
Resolution: Fixed
-
P3
-
7-pool
-
b04
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8072364 | 7u85 | Robert Mckenna | P3 | Resolved | Fixed | b01 |
javac is generating an incorrect LVT table for code like:
public class Test {
public Object m(int i) {
Object c;
switch (i) {
case 0:
Object o = null;
if (o != null) {
return o;
}
case 1:
Object s = null;
c = null;
break;
default:
throw new AssertionError("");
}
return c;
}
}
public class Test {
public Object m(int i) {
Object c;
switch (i) {
case 0:
Object o = null;
if (o != null) {
return o;
}
case 1:
Object s = null;
c = null;
break;
default:
throw new AssertionError("");
}
return c;
}
}
- backported by
-
JDK-8072364 javac generates incorrect LVT table for trivial cases
- Resolved
- relates to
-
JDK-8080555 Different bytecode between JDK8u45 and JDK8u60-ea-b12
- Closed