aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/test/java/org/aspectj/systemtest/ajc199/AllTestsAspectJ199.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/test/java/org/aspectj/systemtest/ajc199/AllTestsAspectJ199.java')
-rw-r--r--tests/src/test/java/org/aspectj/systemtest/ajc199/AllTestsAspectJ199.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/test/java/org/aspectj/systemtest/ajc199/AllTestsAspectJ199.java b/tests/src/test/java/org/aspectj/systemtest/ajc199/AllTestsAspectJ199.java
index 6b77073be..724fcdf62 100644
--- a/tests/src/test/java/org/aspectj/systemtest/ajc199/AllTestsAspectJ199.java
+++ b/tests/src/test/java/org/aspectj/systemtest/ajc199/AllTestsAspectJ199.java
@@ -19,13 +19,13 @@ public class AllTestsAspectJ199 {
public static Test suite() {
TestSuite suite = new TestSuite("AspectJ 1.9.9 tests");
suite.addTest(Bugs199Tests.suite());
- if (LangUtil.is18VMOrGreater()) {
+ if (LangUtil.isVMGreaterOrEqual(18)) {
suite.addTest(SanityTestsJava18.suite());
suite.addTest(Ajc199TestsJava.suite());
}
// Do not run tests using a previous compiler's preview features anymore. They would all fail.
/*
- if (LangUtil.is18VMOrGreater() && !LangUtil.is19VMOrGreater()) {
+ if (LangUtil.isVMGreaterOrEqual(18) && !LangUtil.isVMGreaterOrEqual(19)) {
suite.addTest(Java18PreviewFeaturesTests.suite());
}
*/