-
Bug
-
Resolution: Fixed
-
P3
-
14
-
b32
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8237035 | 15 | Jan Lahoda | P3 | Resolved | Fixed | b06 |
JDK-8237419 | 14.0.1 | Unassigned | P3 | Resolved | Fixed | b01 |
As reported here:
https://mail.openjdk.java.net/pipermail/amber-dev/2019-December/005415.html
Declaring a record which uses an undeclared variable does not work properly:
---
jshell> record R(int i) { public int g() { return unknown; } }
jshell> new R(0)
| Error:
| cannot find symbol
| symbol: class R
| new R(0)
| ^
jshell>
---
https://mail.openjdk.java.net/pipermail/amber-dev/2019-December/005415.html
Declaring a record which uses an undeclared variable does not work properly:
---
jshell> record R(int i) { public int g() { return unknown; } }
jshell> new R(0)
| Error:
| cannot find symbol
| symbol: class R
| new R(0)
| ^
jshell>
---
- backported by
-
JDK-8237035 JShell: Records with errors are not properly corraled
-
- Resolved
-
-
JDK-8237419 JShell: Records with errors are not properly corraled
-
- Resolved
-