hg: valhalla/valhalla/langtools: Convert SpecializeTypes step into a full-blown tree translator

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Wed Aug 13 17:24:09 UTC 2014


Changeset: aafe5a976abd
Author:    mcimadamore
Date:      2014-08-13 18:23 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/aafe5a976abd

Convert SpecializeTypes step into a full-blown tree translator
*) SpecializeTypes is now a TreeTranslator
*) Fixed bugs where signature attributes would not mention specialized classes
*) Fixed bugs where signature attributes were not emitted (if only supertypes are specialized)
*) Fixed bugs in which emitted signatures changed depending on compilation order
*) Added support for new opcodes: checkcast, new
*) Added tests
*) Remove comments from mangler test BoxTest

! src/share/classes/com/sun/tools/javac/comp/SpecializeTypes.java
! src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! src/share/classes/com/sun/tools/javac/jvm/Gen.java
! src/share/classes/com/sun/tools/javac/jvm/Items.java
! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! src/share/classes/com/sun/tools/javac/tree/JCTree.java
! test/tools/javac/failover/CheckAttributedTree.java
! test/tools/javac/valhalla/typespec/items/Opcodes.java
+ test/tools/javac/valhalla/typespec/items/tests/TestCast.java
+ test/tools/javac/valhalla/typespec/items/tests/TestNew.java
! valhalla/test/valhalla/specializer/BoxTest.java



More information about the valhalla-dev mailing list