Bug 192877 - [ataspectj] @AspectJ style inter-type declaration causes false compiler error during incremental build
Summary: [ataspectj] @AspectJ style inter-type declaration causes false compiler error...
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.6.2   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-15 09:57 EDT by Ben Grommes CLA
Modified: 2008-09-30 16:52 EDT (History)
1 user (show)

See Also:


Attachments
Contains source files to reproduce the bug (1.12 KB, application/x-zip-compressed)
2007-06-15 09:58 EDT, Ben Grommes CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Grommes CLA 2007-06-15 09:57:08 EDT
Build ID: M20070212-1330

Steps To Reproduce:
Use @DeclareParents to introduce a default interface implementation to an existing type.  

A full build compiles cleanly and works as expected.  An incremental build causes the following type of compile error: "The type FooImpl must implement the inherited abstract method Test.methodA()".  

In this example FooImpl is the class we are introducing a default implementation of the Test interface which defines the method "methodA".


More information:
See attached zip for a complete set of files to reproduce.

I can repoduce this bug with AJDT 1.4.2.200705221209 for Eclipse 3.2.2 as well as AJDT 1.5RC1 for Eclipse 3.3RC1
Comment 1 Ben Grommes CLA 2007-06-15 09:58:39 EDT
Created attachment 71457 [details]
Contains source files to reproduce the bug
Comment 2 Matt Chapman CLA 2007-06-18 05:17:18 EDT
Passing over to the compiler
Comment 3 Andrew Clement CLA 2007-10-23 08:33:15 EDT
check in 1.5.4 timeframe
Comment 4 Andrew Clement CLA 2008-09-30 16:52:20 EDT
fixed by other changes - have added attached testcase to test suite.