aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2016-01-04 12:48:59 -0800
committerAndy Clement <aclement@pivotal.io>2016-01-04 12:48:59 -0800
commit9de03491abb6af7f7539674a05044b917805c066 (patch)
tree04cc1fdffd375bbafaa43bdb6d1159c0cb705a42 /testing
parentcfe754597f1d872497a84ef9a14200936f858e57 (diff)
downloadaspectj-9de03491abb6af7f7539674a05044b917805c066.tar.gz
aspectj-9de03491abb6af7f7539674a05044b917805c066.zip
Cope with java version becoming 9.X rather than 1.9.X
Diffstat (limited to 'testing')
-rw-r--r--testing/newsrc/org/aspectj/testing/AjcTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/newsrc/org/aspectj/testing/AjcTest.java b/testing/newsrc/org/aspectj/testing/AjcTest.java
index 57129c853..29d3d1786 100644
--- a/testing/newsrc/org/aspectj/testing/AjcTest.java
+++ b/testing/newsrc/org/aspectj/testing/AjcTest.java
@@ -47,7 +47,7 @@ public class AjcTest {
is16VMOrGreater = true;
is17VMOrGreater = true;
is18VMOrGreater = true;
- } else if (vm.startsWith("1.9")) {
+ } else if (vm.startsWith("1.9") || vm.startsWith("9")) {
is15VMOrGreater = true;
is16VMOrGreater = true;
is17VMOrGreater = true;