-
Bug
-
Resolution: Fixed
-
P4
-
24
-
b11
We currently have static blocks disabled because they allow for creating erroneous 'break' statements. Lets fix both issues.
Here's a sample:
class Test_0 {
static {
if (true) {
break; // <- compilation error here
}
}
}
Here's a sample:
class Test_0 {
static {
if (true) {
break; // <- compilation error here
}
}
}
- links to
-
Commit(master) openjdk/jdk/4669e7b7
-
Review(master) openjdk/jdk/20310