diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2021-06-26 16:16:18 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2021-06-26 16:51:19 +0700 |
commit | 9de03c3ea52f78678d8c47296395d5f01d031a48 (patch) | |
tree | 748d092412c09670f2781c38cea1ebe9b86c689d /util | |
parent | dfcf1d77a65344934f0e642907819f16b5a3af0a (diff) | |
download | aspectj-9de03c3ea52f78678d8c47296395d5f01d031a48.tar.gz aspectj-9de03c3ea52f78678d8c47296395d5f01d031a48.zip |
Add AspectJ 1.9.7 and Java 17 test skeletons
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'util')
-rw-r--r-- | util/src/main/java/org/aspectj/util/LangUtil.java | 4 |
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 c53d18989..187b895b2 100644 --- a/util/src/main/java/org/aspectj/util/LangUtil.java +++ b/util/src/main/java/org/aspectj/util/LangUtil.java @@ -190,6 +190,10 @@ public class LangUtil { return 17 <= vmVersion; } + public static boolean is18VMOrGreater() { + return 18 <= vmVersion; + } + /** * Shorthand for "if null, throw IllegalArgumentException" * |