aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/test/java/org/aspectj/systemtest/incremental
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2024-02-19 10:22:10 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2024-02-19 11:21:19 +0700
commit198957fd26d1e5cd347c0c1c3a0c9100295af4cf (patch)
tree38e4be75f6abf612b04cf4a938607a5acbe5f370 /tests/src/test/java/org/aspectj/systemtest/incremental
parent08d0c4435b61512f55f8d0e357b09496fdbe155a (diff)
downloadaspectj-198957fd26d1e5cd347c0c1c3a0c9100295af4cf.tar.gz
aspectj-198957fd26d1e5cd347c0c1c3a0c9100295af4cf.zip
LangUtil: remove methods like 'is11VMOrGreater', 'is1dot5VMOrGreater'
Replace them by a uniform method 'isVMGreaterOrEqual(double)', also overloaded for int. This gets rid of one 'AspectJ_JDK_Update' tag. One less place to check and update with each newly supported Java version. :-) Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'tests/src/test/java/org/aspectj/systemtest/incremental')
-rw-r--r--tests/src/test/java/org/aspectj/systemtest/incremental/tools/MultiProjTestCompilerConfiguration.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/test/java/org/aspectj/systemtest/incremental/tools/MultiProjTestCompilerConfiguration.java b/tests/src/test/java/org/aspectj/systemtest/incremental/tools/MultiProjTestCompilerConfiguration.java
index 52602114e..7f15341e9 100644
--- a/tests/src/test/java/org/aspectj/systemtest/incremental/tools/MultiProjTestCompilerConfiguration.java
+++ b/tests/src/test/java/org/aspectj/systemtest/incremental/tools/MultiProjTestCompilerConfiguration.java
@@ -76,7 +76,7 @@ public class MultiProjTestCompilerConfiguration implements ICompilerConfiguratio
+ "../lib/junit/junit.jar" + File.pathSeparator
+ ".." + File.separator + "lib" + File.separator + "test" + File.separator + "aspectjrt.jar";
verifyClasspath(cp);
- if (LangUtil.is9VMOrGreater()) {
+ if (LangUtil.isVMGreaterOrEqual(9)) {
cp = LangUtil.getJrtFsFilePath() + File.pathSeparator + cp;
}