summaryrefslogtreecommitdiffstats
path: root/util/testsrc
diff options
context:
space:
mode:
authorwisberg <wisberg>2005-08-18 05:02:47 +0000
committerwisberg <wisberg>2005-08-18 05:02:47 +0000
commite9329e91f4e62b8280d70a0e4f0b7ff6e6a67b53 (patch)
treef47f25f2289b97471312a0de13ab4865058f73b4 /util/testsrc
parentc82127f4e6f2a77f9f1e4c1a287cb73de0fb94de (diff)
downloadaspectj-e9329e91f4e62b8280d70a0e4f0b7ff6e6a67b53.tar.gz
aspectj-e9329e91f4e62b8280d70a0e4f0b7ff6e6a67b53.zip
Using JLS 20.18.7 system property for version per mailing list request
Diffstat (limited to 'util/testsrc')
-rw-r--r--util/testsrc/org/aspectj/util/LangUtilTest.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/util/testsrc/org/aspectj/util/LangUtilTest.java b/util/testsrc/org/aspectj/util/LangUtilTest.java
index 8877815ee..eda805d38 100644
--- a/util/testsrc/org/aspectj/util/LangUtilTest.java
+++ b/util/testsrc/org/aspectj/util/LangUtilTest.java
@@ -100,6 +100,13 @@ public class LangUtilTest extends TestCase {
resultString = "" + extracted;
assertTrue(resultString + " != " + EXP, resultString.equals(EXP));
}
+
+ public void testVersion() {
+ assertTrue(LangUtil.is13VMOrGreater()); // min vm now - floor may change
+ if (LangUtil.is15VMOrGreater()) {
+ assertTrue(LangUtil.is14VMOrGreater());
+ }
+ }
/** @see LangUtil.extractOptions(String[], String[][]) */
public void testExtractOptionsArrayCollector() {