hg: valhalla/valhalla/langtools: Misc fixes and improvements

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Wed Apr 1 14:15:28 UTC 2015


Changeset: 447d5ec649da
Author:    mcimadamore
Date:      2015-04-01 15:13 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/447d5ec649da

Misc fixes and improvements
* Import parser patches to allow REPL execution (integration with Kulla)
* Fix type-substitution involving primitives in wildcards
* Specializer ignores nested specialized generic method calls
* Add support for specialized bytecode attrs in array for-each loop
* Add support for specialized bytecode attrs in lambda bodies
* Improve Types.specializeSymbol to be lazily completed
* Added tests

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/SpecializeTypes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! test/tools/javac/LabeledDeclaration.java
! test/tools/javac/LabeledDeclaration.out
+ test/tools/javac/valhalla/typespec/Wildcards04.java
+ test/tools/javac/valhalla/typespec/items/tests/TestForeach.java
! test/tools/javac/valhalla/typespec/items/tests/TestGeneric2GenericCall.java
+ test/tools/javac/valhalla/typespec/items/tests/TestLambda.java



More information about the valhalla-dev mailing list