Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8206053 | 12 | Jan Lahoda | P4 | Resolved | Fixed | team |
JDK-8206648 | 11.0.1 | Jan Lahoda | P4 | Resolved | Fixed | b01 |
Consider code like:
---
class T {
void t() {
for (n : ns) { }
}
}
---
The AST node for "n" will be a VariableTree, but its modifiers and name will be null. This seems to be inconsistent with other similar cases like:
void t(n) { }
which is modelled as a VariableTree with non-null dummy modifiers and names.error as the name.
---
class T {
void t() {
for (n : ns) { }
}
}
---
The AST node for "n" will be a VariableTree, but its modifiers and name will be null. This seems to be inconsistent with other similar cases like:
void t(n) { }
which is modelled as a VariableTree with non-null dummy modifiers and names.error as the name.
- backported by
-
JDK-8206053 Inconsistent source code model
-
- Resolved
-
-
JDK-8206648 Inconsistent source code model
-
- Resolved
-