- edited description
NullPointerException for invalid coll declaration
Issue #196
resolved
If a collection attribute is declared with an invalid root
class, JastAdd throws a NullPointerException:
// AST
Goal;
import java.util.ArrayList;
aspect CollectionException {
coll ArrayList<Integer> Goal.myColl() [new ArrayList<Integer>()]
with add root MisspelledGoal;
// Contribution required
Goal contributes new Integer(5) to Goal.myColl() for this;
}
Used JastAdd version: 2.1.10
Comments (2)
-
reporter -
- changed status to resolved
- Log in to comment