hg: lambda/lambda/langtools: Enhancement: Add support for static interface methods
maurizio.cimadamore at oracle.com
maurizio.cimadamore at oracle.com
Mon Dec 3 08:11:44 PST 2012
Changeset: 67030038d40b
Author: mcimadamore
Date: 2012-12-03 15:32 +0000
URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/67030038d40b
Enhancement: Add support for static interface methods
This patch adds support for static interface methods.
Hiding rules are simpler than those for static class methods, as a static interface method cannot be inherithed.
! src/share/classes/com/sun/tools/javac/code/Flags.java
! src/share/classes/com/sun/tools/javac/code/Source.java
! src/share/classes/com/sun/tools/javac/code/Symbol.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/defaultMethods/hiding/InterfaceMethodHidingTest.java
! test/tools/javac/defaultMethods/syntax/TestDefaultMethodsSyntax.java
! test/tools/javac/diags/examples.not-yet.txt
More information about the lambda-dev
mailing list