hg: jdk8u/jdk8u-dev/langtools: 2 new changesets

jan.lahoda at oracle.com jan.lahoda at oracle.com
Fri Sep 12 08:13:53 UTC 2014


Changeset: c627efb5fdcd
Author:    jlahoda
Date:      2014-09-08 10:48 +0200
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/langtools/rev/c627efb5fdcd

8056014: Type inference may be skipped for a complex receiver generic method in a parameter position
Summary: When checking if deferred attribution is needed for a chain of methods, stop on any method that returns any type variable, as the rest of analysis cannot use the correct type.
Reviewed-by: mcimadamore, vromero

! src/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
+ test/tools/javac/lambda/T8056014.java

Changeset: ced008063508
Author:    jlahoda
Date:      2014-09-08 10:50 +0200
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/langtools/rev/ced008063508

8056984: Exception in compiler: java.lang.AssertionError: isSubClass T
Summary: Must use type variable's captured bound as a method receiver, instead of the type variable itself, while checking if deferred attribution is needed.
Reviewed-by: mcimadamore, vromero

! src/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
+ test/tools/javac/lambda/T8056984.java



More information about the jdk8u-dev-changes mailing list