Mismatch of public spec and diffs in Project Coin
konstantin barzilovich
konstantin.barzilovich at oracle.com
Thu Jul 30 12:50:52 UTC 2015
Hello Dan,
There are diffs of assertions inJDK-8073593
<https://bugs.openjdk.java.net/browse/JDK-8073593>which allow diamonds
with anonymous classes.
Some assertions are not the same as in initial version of spec.
For example, if I understand correctly there is no intention to modify
the third assertion jls-15.9.1-100-A.1:
"The Identifier after the new token must denote..."
but in public JLS it is:
"The ClassOrInterfaceTypeToInstantiate must denote..."
It is not a great problem because the meaning is the same,
but sometimes it might be hard to find corresponding assertion in public
JLS.
What was the reason of it?
What variant will be eventually in JLS 9?
Thanks,
Konstantin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20150730/ecd747b8/attachment.html>
More information about the compiler-dev
mailing list