aboutsummaryrefslogtreecommitdiffstats
path: root/util/src
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2021-03-17 23:38:08 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2021-03-17 23:38:08 +0700
commit4e5430011fc9283074339b39754b0f07ff5d8a04 (patch)
treec56b73057f7255faee0b5a04532155c281db65e0 /util/src
parent58830078585fd045c92737ce56cb693b903f5545 (diff)
downloadaspectj-4e5430011fc9283074339b39754b0f07ff5d8a04.tar.gz
aspectj-4e5430011fc9283074339b39754b0f07ff5d8a04.zip
Add Java 15 / AspectJ 1.9.7 test suite
Also fix some minor details in Java 14 suite Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'util/src')
-rw-r--r--util/src/main/java/org/aspectj/util/LangUtil.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/src/main/java/org/aspectj/util/LangUtil.java b/util/src/main/java/org/aspectj/util/LangUtil.java
index 1f4ee65b4..a0535d389 100644
--- a/util/src/main/java/org/aspectj/util/LangUtil.java
+++ b/util/src/main/java/org/aspectj/util/LangUtil.java
@@ -182,6 +182,10 @@ public class LangUtil {
return 15 <= vmVersion;
}
+ public static boolean is16VMOrGreater() {
+ return 16 <= vmVersion;
+ }
+
/**
* Shorthand for "if null, throw IllegalArgumentException"
*