diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/src/org/aspectj/testing/harness/bridge/AjcTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/src/org/aspectj/testing/harness/bridge/AjcTest.java b/testing/src/org/aspectj/testing/harness/bridge/AjcTest.java index 7d4e97036..4a521d890 100644 --- a/testing/src/org/aspectj/testing/harness/bridge/AjcTest.java +++ b/testing/src/org/aspectj/testing/harness/bridge/AjcTest.java @@ -463,6 +463,9 @@ public class AjcTest extends RunSpecIterator { } public static AjcTest.Spec[] getTests(Suite.Spec spec) { + if (null == spec) { + return new AjcTest.Spec[0]; + } return (AjcTest.Spec[]) spec.children.toArray(new AjcTest.Spec[0]); } |