From 4e5430011fc9283074339b39754b0f07ff5d8a04 Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Wed, 17 Mar 2021 23:38:08 +0700 Subject: Add Java 15 / AspectJ 1.9.7 test suite Also fix some minor details in Java 14 suite Signed-off-by: Alexander Kriegisch --- util/src/main/java/org/aspectj/util/LangUtil.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'util/src') 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" * -- cgit v1.2.3