Hi Gavin,
At: 9.7.4 Where Annotations May Appear, it says:
It is a compile-time error if an annotation of type /T/ is syntactically
a modifier for:
...
* a record component but /T/ is not applicable to record
component declarations, type contexts, type parameter declarations,
field declarations, or method declarations.
I think that it should say: parameter declarations instead of type
parameter declarations.
Vicente
On 10/31/19 10:17 AM, Gavin Bierman wrote:
An updated draft language spec for JEP 359 (Records) is available at:
http://cr.openjdk.java.net/~gbierman/jep359/jep359-20191031/specs/records-jls.html
<http://cr.openjdk.java.net/~gbierman/jep359/jep359-20191031/specs/records-jls.html>
(Alongside is a draft JVM spec for this feature:
http://cr.openjdk.java.net/~gbierman/jep359/jep359-20191031/specs/records-jvms.html
<http://cr.openjdk.java.net/~gbierman/jep359/jep359-20191031/specs/records-jvms.html>
)
As always, please email me any comments/thoughts/bugs.
Thanks,
Gavin
On 23 Aug 2019, at 22:25, Gavin Bierman <gavin.bier...@oracle.com> wrote:
A draft language spec for records is available at:
http://cr.openjdk.java.net/~gbierman/8222777/8222777-20190823/specs/records-jls.html
<http://cr.openjdk.java.net/~gbierman/8222777/8222777-20190823/specs/records-jls.html>
This spec doesn’t yet discuss varargs records - to appear in the next draft.
All comments welcomed!
Thanks,
Gavin