-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: None
-
Component/s: tools
-
b32
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8236884 | 15 | Vicente Arturo Romero Zaldivar | P3 | Resolved | Fixed | b06 |
| JDK-8237415 | 14.0.1 | Unassigned | P3 | Resolved | Fixed | b01 |
this code is accepted by javac:
record Test() {
static final int x;
public static void main(String[] args) {
System.out.println(x);
}
}
if we change `record Test()` for `class Test` then it is rejected
reported by Tagir in amber-dev
record Test() {
static final int x;
public static void main(String[] args) {
System.out.println(x);
}
}
if we change `record Test()` for `class Test` then it is rejected
reported by Tagir in amber-dev
- backported by
-
JDK-8236884 static final fields without initializer are accepted by javac
-
- Resolved
-
-
JDK-8237415 static final fields without initializer are accepted by javac
-
- Resolved
-