hg: tiered-attrib/dev/langtools: 2 new changesets
vicente.romero at oracle.com
vicente.romero at oracle.com
Thu Jun 11 00:33:43 UTC 2015
Changeset: c3bb8ed8be87
Author: vromero
Date: 2015-06-10 17:27 -0700
URL: http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/c3bb8ed8be87
attribute the qualifier expression of a method reference only once
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/StructuralType.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/InferenceContext.java
Changeset: 89796ffd407e
Author: vromero
Date: 2015-06-10 17:33 -0700
URL: http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/89796ffd407e
keep the ResolutionData obtained during the structural check of a method reference
the ResolutionData obtained for the same number of parameters at StructuralStuckChecker.visitReference
are equivalent and can be reused whenever the number of parameters is the same. Keeping this object
in the structural type can save time and the obtained output is not affected
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/StructuralType.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/InferenceContext.java
More information about the tiered-attrib-dev
mailing list