hg: tiered-attrib/dev/langtools: 6 new changesets

vicente.romero at oracle.com vicente.romero at oracle.com
Fri Jun 12 18:25:46 UTC 2015


Changeset: d6cd03f0e965
Author:    vromero
Date:      2015-06-12 11:04 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/d6cd03f0e965

validate the static selector for method references at the structural type constructor

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

Changeset: d9ab6a96f231
Author:    vromero
Date:      2015-06-12 11:05 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/d9ab6a96f231

simple refactoring to visitReference during overload phase

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

Changeset: 377367b8e168
Author:    vromero
Date:      2015-06-12 11:07 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/377367b8e168

create a common method to find the target and descriptor of a method reference

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

Changeset: 85dde95e6923
Author:    vromero
Date:      2015-06-12 11:08 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/85dde95e6923

create a common method to determine if a method reference is erroneous

! 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: f53bf1b3fde2
Author:    vromero
Date:      2015-06-12 11:09 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/f53bf1b3fde2

create a common method to check a method reference

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

Changeset: a365f511f17d
Author:    vromero
Date:      2015-06-12 11:16 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/a365f511f17d

dont pollute the inference context at Resolve.resolveMemberReference
The same inference context is being used for the bound and unbound lookups.
This implies that the inference context can get polluted with totally meaningless
bounds making it useless if necessary and forcing it's recalculation once the winning
option is determined

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java



More information about the tiered-attrib-dev mailing list