hg: valhalla/valhalla/langtools: Values may not be declared as extending any other type.

paul.govereau at oracle.com paul.govereau at oracle.com
Tue Jul 29 16:00:29 UTC 2014


Changeset: e93623f99db8
Author:    pgovereau
Date:      2014-07-29 11:58 -0400
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/e93623f99db8

Values may not be declared as extending any other type.
For the prototype, all values have supertype javax.lang.Value.

! make/build.properties
! src/share/classes/com/sun/tools/javac/comp/TransValues.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ src/share/classes/javax/lang/Value.java
+ test/tools/javac/diags/examples/ValueExtends.java
+ test/tools/javac/valhalla/values/CheckExtends.java
+ test/tools/javac/valhalla/values/CheckExtends.out
+ test/tools/javac/valhalla/values/CheckSuper.java
! test/tools/javac/valhalla/values/Point.java




More information about the valhalla-dev mailing list