diff options
author | Andy Clement <aclement@pivotal.io> | 2016-06-27 15:49:09 -0700 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2016-06-27 15:49:09 -0700 |
commit | 92a9d99937725875881b691085fdbf3332917f6e (patch) | |
tree | cff91eca5a63f1db790fc02244db48b2cbf747d4 /testing-drivers | |
parent | fa03c791aeb9a4d16c9f0d87e2fe6702e08e0411 (diff) | |
download | aspectj-92a9d99937725875881b691085fdbf3332917f6e.tar.gz aspectj-92a9d99937725875881b691085fdbf3332917f6e.zip |
Fix classpath for tests on Java9
Diffstat (limited to 'testing-drivers')
-rw-r--r-- | testing-drivers/testsrc/org/aspectj/testing/drivers/HarnessSelectionTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testing-drivers/testsrc/org/aspectj/testing/drivers/HarnessSelectionTest.java b/testing-drivers/testsrc/org/aspectj/testing/drivers/HarnessSelectionTest.java index 9f50d0ff1..ac937ac44 100644 --- a/testing-drivers/testsrc/org/aspectj/testing/drivers/HarnessSelectionTest.java +++ b/testing-drivers/testsrc/org/aspectj/testing/drivers/HarnessSelectionTest.java @@ -18,6 +18,7 @@ import org.aspectj.bridge.MessageHandler; import org.aspectj.bridge.MessageUtil; import org.aspectj.testing.harness.bridge.AbstractRunSpec; import org.aspectj.testing.harness.bridge.AjcTest; +import org.aspectj.testing.harness.bridge.IRunSpec; import org.aspectj.testing.run.IRunStatus; import org.aspectj.testing.run.RunValidator; import org.aspectj.testing.util.BridgeUtil; @@ -298,7 +299,7 @@ public class HarnessSelectionTest extends TestCase { runtime.setOptions(options); AjcTest.Suite.Spec spec = getSpec(suiteFile); assertNotNull(spec); - ArrayList kids = spec.getChildren(); + ArrayList<IRunSpec> kids = spec.getChildren(); assertNotNull(kids); if ((suiteFile == SELECT) && (17 != kids.size())) { assertTrue("expected 17 kids, got " + kids.size(), false); |