Bug 43163

Summary: calling super.foo() from an aspect crashes compiler
Product: [Tools] AspectJ Reporter: attila lendvai <101>
Component: CompilerAssignee: Jim Hugunin <jim-aj>
Status: RESOLVED DUPLICATE QA Contact:
Severity: blocker    
Priority: P3    
Version: 1.1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Aspect.aj
none
Test.java
none
TestImpl.java none

Description attila lendvai CLA 2003-09-16 12:27:05 EDT
package test;

aspect Aspect
{
	private interface InterType {};

	public void InterType.foo()
	{
		// Commenting out this line prevents compiler crash
		super.foo();
	}
}

================================


package test;


interface Test
{
	public void foo();
}


=================================

package test;

class TestImpl implements Test
{
	public void foo()
	{
	}
}
Comment 1 attila lendvai CLA 2003-09-16 12:28:33 EDT
Created attachment 6112 [details]
Aspect.aj
Comment 2 attila lendvai CLA 2003-09-16 12:29:04 EDT
Created attachment 6113 [details]
Test.java
Comment 3 attila lendvai CLA 2003-09-16 12:30:49 EDT
Created attachment 6114 [details]
TestImpl.java
Comment 4 Jim Hugunin CLA 2003-09-16 13:08:38 EDT
This bug is a duplicate, and should already be fixed in the 1.1.1 preview
available at:
  http://download.eclipse.org/technology/ajdt/aspectj-1.1.1.jar

Please check with the preview and reopen this bug if that doesn't work for you.

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