Bug 89795 - Java Editor eager parser cannot cope with ITD on implemented interface
Summary: Java Editor eager parser cannot cope with ITD on implemented interface
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: UI (show other bugs)
Version: 1.2.0 M2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.2.0 RC1   Edit
Assignee: Sian January CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 105771 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-31 05:03 EST by Matthew Webster CLA
Modified: 2005-11-03 06:47 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Webster CLA 2005-03-31 05:03:15 EST
AJDT: 1.2.0.20050321, Eclipse 3.1M5a

In the example below class "Test" implements interface "Interface" that has a 
default implementation of method "method()" in aspect "Aspect". While there 
are no messages in the Problems view the eager parser shows an error:

"the type Test must implement the inherited abstract method ..."

This can be avoided by turning of eager parsing but ...


public class Test implements Interface {

//	public void method () {
//		System.out.println("? method()");
//	}
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		new Test().method();

	}

}


public interface Interface {

	
	public void method ();
}


public aspect Aspect {
	
	public int Interface.intField;
	
	public void Interface.method () {
		System.out.println("? Aspect.method()");
	}

}
Comment 1 Sian January CLA 2005-05-18 07:30:43 EDT
I am closing this bug because we now support correct eager parsing of .java 
files in the AspectJ editor.
Comment 2 Andrew Clement CLA 2005-11-03 06:47:05 EST
*** Bug 105771 has been marked as a duplicate of this bug. ***