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

daniel.smith at oracle.com daniel.smith at oracle.com
Wed Jun 11 23:13:13 UTC 2014


Changeset: 16a698253f33
Author:    dlsmith
Date:      2014-06-10 12:41 -0600
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/langtools/rev/16a698253f33

8037385: constant pool errors with -target 1.7 and static default methods
Summary: Add error check for static interface methods invoked from -source 7
Reviewed-by: vromero, mcimadamore

! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/diags/examples/StaticIntfMethodInvokeNotSupported.java

Changeset: e6d1e9f29132
Author:    dlsmith
Date:      2014-06-10 15:25 -0600
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/langtools/rev/e6d1e9f29132

8015101: Covariance of return type implied by upper bounding on type parameter is ignored
Summary: Capture intersection supertypes before comparing their members
Reviewed-by: vromero

! src/share/classes/com/sun/tools/javac/comp/Check.java
! test/tools/javac/generics/wildcards/7034495/T7034495.out
+ test/tools/javac/generics/wildcards/T8015101.java



More information about the jdk8u-dev-changes mailing list