Bug 117210 - Runtime error - Stack size too large, Bug#69706 related.
Summary: Runtime error - Stack size too large, Bug#69706 related.
Status: RESOLVED DUPLICATE of bug 117209
Alias: None
Product: AJDT
Classification: Tools
Component: Core (show other bugs)
Version: 1.3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: AJDT-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-20 01:08 EST by David CLA
Modified: 2005-11-21 06:06 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David CLA 2005-11-20 01:08:32 EST
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);
	}
}
Comment 1 Matt Chapman CLA 2005-11-21 06:06:30 EST
Seems to have exactly the same text as bug 117209

*** This bug has been marked as a duplicate of 117209 ***