Bug 266347 - Incremental compile of @DecP is broken
Summary: Incremental compile of @DecP is broken
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows Vista
: P5 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-26 12:44 EST by Andrew Clement CLA
Modified: 2010-01-12 20:08 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 Andrew Clement CLA 2009-02-26 12:44:44 EST
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.DeclareParents;

@Aspect
public class CC {

	@DeclareParents(value = "Simple", defaultImpl = Impl.class)
	public I i;

	public static void main(String[] args) {
		new Simple().run();
	}
}

class Simple {
 
	public void run() {
	}
}

interface I {
	void m();
}

class Impl implements I {
	public Impl() {
	}

	public void m() {
	}
}

@Retention(RetentionPolicy.RUNTIME)
@interface Anno {
}

whitespace change in Simple and save - error about it not implementing m()
Comment 1 Andrew Clement CLA 2010-01-12 20:08:47 EST
Wonder if DeclareMixin exhibits the same problem?  No users other than me reporting this, moving it off the radar for now