From 9de03c3ea52f78678d8c47296395d5f01d031a48 Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Sat, 26 Jun 2021 16:16:18 +0700 Subject: Add AspectJ 1.9.7 and Java 17 test skeletons Signed-off-by: Alexander Kriegisch --- util/src/main/java/org/aspectj/util/LangUtil.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'util/src/main/java/org') 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" * -- cgit v1.2.3