[Bug 64] New: Pointcut inheritance not recognized

From: <abc-bugs@comlab.ox.ac.uk>
Date: Wed Jan 11 2006 - 09:01:13 GMT

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

           Summary: Pointcut inheritance not recognized
           Product: abc
           Version: 1.1.0
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: AspectJ compiler
        AssignedTo: abc-bugs@comlab.ox.ac.uk
        ReportedBy: christian.kaestner@student.uni-magdeburg.de

Contrasting ajc the abc compiler does not recognized non-abstract pointcasts
that are overwritten in other aspects.

Example code:
abstract aspect A {
  pointcut PC() : call (* Socket.connect(..));
  before(): PC() {
     ...
  }
}
aspect B extends A {
  pointcut PC() : A.PC() && call (* Socket.disconnect(..));
}

The compiled version with abc only uses the first pointcut from aspect A, not
the new version from B. The above code works with ajc and should be valid
according to the AspectJ specifications.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Received on Wed Jan 11 09:01:15 2006

This archive was generated by hypermail 2.1.8 : Wed Jan 11 2006 - 10:40:08 GMT