Summary: | Missing incomplete class error for declare parents construct | ||
---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Morten Christensen <mortench2004> |
Component: | Compiler | Assignee: | Jim Hugunin <jim-aj> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | ||
Version: | 1.1.1 | ||
Target Milestone: | 1.2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Morten Christensen
2003-10-09 14:14:07 EDT
Could you add a small test case to this bug report that reproduces the bug please? I tested with the following: class ITDTest {} aspect AddInterface { interface Foo { void bar(); } declare parents : ITDTest implements Foo; } and got the correct error message: ITDTest.aj:1 Class must implement the inherited abstract method AddInterface. Foo.bar() class ITDTest {} ^^^^^^^ Note that this is very different to: class ITDTest {} aspect AddInterface { interface Foo { } void Foo.bar() {} declare parents : ITDTest implements Foo; } which both defines the bar() method in Foo, and provides a default implementation of it. We believe this is now fixed in the current tree. If you don't find this is true, please repoen with a self-contained test case showing the problem. updating target flag to indicate inclusion in 1.2 release. |