hg: valhalla/valhalla/langtools: Add support for statically typed default literals

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Fri Jan 16 12:24:37 UTC 2015


Changeset: 82892f0cd83a
Author:    mcimadamore
Date:      2015-01-16 12:24 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/82892f0cd83a

Add support for statically typed default literals
* add parser/type-checking/codegen support T.default
* added tests

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/SpecializeTypes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Code.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeInfo.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeMaker.java
+ test/tools/javac/valhalla/typespec/Default01.java
+ test/tools/javac/valhalla/typespec/Default01.out
+ test/tools/javac/valhalla/typespec/Default02.java
! test/tools/javac/valhalla/typespec/items/Opcodes.java
+ test/tools/javac/valhalla/typespec/items/tests/TestDefault.java



More information about the valhalla-dev mailing list