aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/pom.xml2
-rw-r--r--util/src/main/java/org/aspectj/util/LangUtil.java4
2 files changed, 5 insertions, 1 deletions
diff --git a/util/pom.xml b/util/pom.xml
index e02f6255e..ca3e31e75 100644
--- a/util/pom.xml
+++ b/util/pom.xml
@@ -6,7 +6,7 @@
<parent>
<groupId>org.aspectj</groupId>
<artifactId>aspectj-parent</artifactId>
- <version>1.9.9-SNAPSHOT</version>
+ <version>1.9.10-SNAPSHOT</version>
</parent>
<artifactId>util</artifactId>
diff --git a/util/src/main/java/org/aspectj/util/LangUtil.java b/util/src/main/java/org/aspectj/util/LangUtil.java
index af1e21d29..7e1c2a253 100644
--- a/util/src/main/java/org/aspectj/util/LangUtil.java
+++ b/util/src/main/java/org/aspectj/util/LangUtil.java
@@ -194,6 +194,10 @@ public class LangUtil {
return 18 <= vmVersion;
}
+ public static boolean is19VMOrGreater() {
+ return 19 <= vmVersion;
+ }
+
/**
* Shorthand for "if null, throw IllegalArgumentException"
*