[Bug 71] New: NPE thrown in weaver when using && !user(*)

From: <abc-bugs@comlab.ox.ac.uk>
Date: Mon Mar 06 2006 - 19:17:47 GMT

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

           Summary: NPE thrown in weaver when using && !user(*)
           Product: abc
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: AspectJ compiler
        AssignedTo: abc-bugs@comlab.ox.ac.uk
        ReportedBy: eric@bodden.de

This was reported by Klaus Havelund:

I have attached an example that makes abc crash during weaving.
I assume some error message should have been emitted. The problem seems to be
the pointcut:

  !user(*)

This example is inspired by the example in the paper of Walker and Viggers,
where their AspectJ program contains such a pointcut. The thing is that AspectJ
does not allow a parameter under a negation. But ... what about a '*' (star)?
Anyway, it it is not
allowed then an error message should be issued. The aspect is in the file:

  AuthetificationPolicy.java

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Received on Mon Mar 06 19:17:49 2006

This archive was generated by hypermail 2.1.8 : Tue Mar 06 2007 - 16:13:27 GMT