-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b31
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8236276 | 15 | Vicente Arturo Romero Zaldivar | P3 | Resolved | Fixed | b03 |
this code:
record R(int i) {
public R(R this, int i) {
this.i = i;
}
}
fails with a spurious error message. The error message should be similar to the one for an equivalent class.
record R(int i) {
public R(R this, int i) {
this.i = i;
}
}
fails with a spurious error message. The error message should be similar to the one for an equivalent class.
- backported by
-
JDK-8236276 spurious error message for record constructors with receiver parameters
-
- Resolved
-
- relates to
-
JDK-8222777 JEP 359: Records (Preview)
-
- Closed
-