-
Bug
-
Resolution: Fixed
-
P3
-
7, 8, 9
-
b38
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8085435 | emb-9 | Joel Borggrén-Franck | P3 | Resolved | Fixed | team |
Liam Miller-Cushon reports:
"I'm seeing crashes with -Xjcov enabled while compiling code with union types. This seems to affect javac 7 through 9. I've attached a possible fix, and a jtreg test for the crash.
Repro:
=== Test.java ===
class Test {
void m() {
try {
return;
} catch (IllegalStateException | IllegalArgumentException e) {
}
}
}
=="
See http://mail.openjdk.java.net/pipermail/compiler-dev/2014-September/009014.html for a proposed fix and a test
"I'm seeing crashes with -Xjcov enabled while compiling code with union types. This seems to affect javac 7 through 9. I've attached a possible fix, and a jtreg test for the crash.
Repro:
=== Test.java ===
class Test {
void m() {
try {
return;
} catch (IllegalStateException | IllegalArgumentException e) {
}
}
}
=="
See http://mail.openjdk.java.net/pipermail/compiler-dev/2014-September/009014.html for a proposed fix and a test
- backported by
-
JDK-8085435 javac crashes with -Xjcov and union types
-
- Resolved
-