hg: tiered-attrib/dev/langtools: simplifying lambda related code

vicente.romero at oracle.com vicente.romero at oracle.com
Wed Jun 10 17:47:00 UTC 2015


Changeset: ec5e867b7150
Author:    vromero
Date:      2015-06-10 10:46 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/ec5e867b7150

simplifying lambda related code
common code to create the lambda body resultInfo has been moved to a method
the check to determine if the lambda type is a generic method has been moved
to the method determining the type
a chunk of code in Attr.visitLambda that is not executed now has been removed

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/StructuralType.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java



More information about the tiered-attrib-dev mailing list