Bug 43163 - calling super.foo() from an aspect crashes compiler
Summary: calling super.foo() from an aspect crashes compiler
Status: RESOLVED DUPLICATE of bug 39993
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.1.0   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Jim Hugunin CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-16 12:27 EDT by attila lendvai CLA
Modified: 2003-09-16 13:08 EDT (History)
0 users

See Also:


Attachments
Aspect.aj (187 bytes, text/plain)
2003-09-16 12:28 EDT, attila lendvai CLA
no flags Details
Test.java (66 bytes, text/x-java)
2003-09-16 12:29 EDT, attila lendvai CLA
no flags Details
TestImpl.java (87 bytes, text/x-java)
2003-09-16 12:30 EDT, attila lendvai CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***