[Bug 17] New: declare parents can cause cycle in hierarchy

From: <abc-bugs@comlab.ox.ac.uk>
Date: Thu Sep 16 2004 - 21:39:17 BST

http://abc.comlab.ox.ac.uk/cgi-bin/bugzilla/show_bug.cgi?id=17

           Summary: declare parents can cause cycle in hierarchy
           Product: abc
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: AspectJ compiler
        AssignedTo: abc-bugs@comlab.ox.ac.uk
        ReportedBy: olhotak@sable.mcgill.ca

If I try to compile the following program with abc, I get a StackOverFlowError.
The reason is that it makes foo.Foo implement itself, and then the matching
stuff gets into infinite recursion.

package foo;

public interface Foo {
}
aspect FooBar {
    declare parents: foo..* implements foo.Foo;
}

This is a small example of what prevents atrack from compiling.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Received on Thu Sep 16 21:39:28 2004

This archive was generated by hypermail 2.1.8 : Thu Sep 16 2004 - 21:40:01 BST