hg: jdk9/dev/langtools: 8037385: constant pool errors with -target 1.7 and static default methods

daniel.smith at oracle.com daniel.smith at oracle.com
Tue Jun 10 18:43:00 UTC 2014


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

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



More information about the jdk9-dev-changes mailing list