Summary: | A combination of warning declaration and member introduction causes compiler to throw NullPointerException | ||
---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Antti Karanta <Antti.Karanta> |
Component: | Compiler | Assignee: | Andrew Clement <aclement> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 1.1.1 | ||
Target Milestone: | 1.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Whiteboard: |
Description
Antti Karanta
2004-02-19 05:02:21 EST
This appears to be related to the NPE in bug 51320 caused when a context based pointcut is used in a declare error / warning statement. Fixed in 51320, the test program (if entirely captured in a file SampleClass.java) now compiles with: C:\Eclipse\212\eclipse\aspectj_ws\tests\bugs>ajc SampleClass.java C:\Eclipse\212\eclipse\aspectj_ws\tests\bugs\SampleClass.java:8 args() pointcut designator cannot be used in declare statement 1 error |