Community
Participate
Working Groups
interface Foo { static Foo getMeAFoo() { return new FooImpl(); } // void printMessage(); default void printMessage() { System.out.println("Message from Foo!"); } } //interface Bar { // default void printMessage() { // System.out.println("Message from Bar!"); // } //} class FooImpl implements Foo { @Override public void printMessage() { Bar.super.printMessage(); } } public class Demo { public static void main(String[] args) { Foo f = Foo.getMeAFoo(); f.printMessage(); } } aspect X { before(): execution(* Foo.*(..)) { System.out.println(thisJoinPoint); } }
Fixed. Special handling for ITD super references in the JDT patch were damaging the handling of Interface.super references. Change made in QualifiedSuperReference.