hg: valhalla/valhalla/langtools: Enhancement: add support for anyfied lambdas

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Fri May 29 17:51:52 UTC 2015


Changeset: 761d199068c7
Author:    mcimadamore
Date:      2015-05-29 18:51 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/761d199068c7

Enhancement: add support for anyfied lambdas
* Overhaul boostrap static argument javac support
* Add new SpecializerSignature attribute
* Enhance BMAs for indy so that it also contains info for specialized static args
* Added smoke test

! src/jdk.compiler/share/classes/com/sun/tools/classfile/Attribute.java
! src/jdk.compiler/share/classes/com/sun/tools/classfile/ClassWriter.java
+ src/jdk.compiler/share/classes/com/sun/tools/classfile/SpecializerSignature_attribute.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/IndifierTranslator.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/SpecializeTypes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Items.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Pool.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Names.java
! src/jdk.compiler/share/classes/com/sun/tools/javap/AttributeWriter.java
! test/lib/annotations/annotations/classfile/ClassfileInspector.java
! test/tools/javac/MethodParameters/AttributeVisitor.java
! test/tools/javac/lambda/TestInvokeDynamic.java
! test/tools/javac/valhalla/typespec/items/tests/TestLambda.java



More information about the valhalla-dev mailing list