aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/WithincodeNPE01.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/WithincodeNPE01.java')
-rw-r--r--tests/bugs/WithincodeNPE01.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/WithincodeNPE01.java b/tests/bugs/WithincodeNPE01.java
index 8e7accb23..0ff93dc67 100644
--- a/tests/bugs/WithincodeNPE01.java
+++ b/tests/bugs/WithincodeNPE01.java
@@ -1,5 +1,5 @@
aspect B {
- public A.new(String s) { }
+ public A.new(String s) {this(); }
public void A.foo() { int i = 1; }
declare warning: withincode(void main(..)): "X"; // Would NPE without the fix for PR67774