hg: valhalla/valhalla/langtools: Misc value types fixes:
maurizio.cimadamore at oracle.com
maurizio.cimadamore at oracle.com
Tue Nov 17 12:04:21 UTC 2015
Changeset: eb59ce39c7b0
Author: mcimadamore
Date: 2015-11-17 12:04 +0000
URL: http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/eb59ce39c7b0
Misc value types fixes:
1. The parser does not accept local value type declarations of the form
__ByValue final class F { ... }
2. Enforcement that the fields of a value type should be final is not robust.
Contributed-by: srikanth.adayapalam at oracle.com
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransValues.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! test/tools/javac/valhalla/values/CheckFinal.java
! test/tools/javac/valhalla/values/CheckFinal.out
More information about the valhalla-dev
mailing list