Community
Participate
Working Groups
AspectJ compiler version: 1.5M5 AJDT plugin version: 1.3.0 This is the same error as reported by Bug#69706, even the bug is resolved I'm still experiencing problem by using the classes attached at the bottom. // RUNTIME ERROR MESSAGE ======================== Exception in thread "main" java.lang.VerifyError: (class: DefaultInterfaceImplementationRecipe, method: <clinit> signature: ()V) Stack size too large at MyClass_ch16.main(MyClass_ch16.java:15) // MyClass_ch16.java ==================== public class MyClass_ch16 { public void foo(int number, String name) { System.out.println("Inside foo (int, String) with args: " + number + ":" + name); } public static void main(String[] args) { // Create an instance of MyClass MyInterface_ch16 myObject = (MyInterface_ch16)new MyClass_ch16 (); // Make the call to foo myObject.bar("Russ"); } } //MyInterface_ch16.java ======================= public interface MyInterface_ch16 { public void bar(String name); } // DefaultInterfaceImplementationRecipe.aj ========================================== public aspect DefaultInterfaceImplementationRecipe { declare parents : MyClass_ch16 implements MyInterface_ch16; // Declare the default implementation of the bar method public void MyInterface_ch16.bar(String name) { System.out.println("bar(String) called on " + this); } }
Seems to have exactly the same text as bug 117209 *** This bug has been marked as a duplicate of 117209 ***