diff options
author | Andy Clement <aclement@pivotal.io> | 2018-09-29 07:47:57 -0700 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2018-09-29 07:47:57 -0700 |
commit | f6d9aaaf05eca3aaf06d3a769a83f302b0501dca (patch) | |
tree | f2f8b3c99f0bd2a77a570f1bf230c2d7aca23647 /util | |
parent | 8aeb774d210a42240f2d6d89dd89e947a084fd7f (diff) | |
download | aspectj-f6d9aaaf05eca3aaf06d3a769a83f302b0501dca.tar.gz aspectj-f6d9aaaf05eca3aaf06d3a769a83f302b0501dca.zip |
1.9.2.RC1 changesV1_9_2_RC1
Diffstat (limited to 'util')
-rw-r--r-- | util/src/org/aspectj/util/LangUtil.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/src/org/aspectj/util/LangUtil.java b/util/src/org/aspectj/util/LangUtil.java index ad83a4edd..82bd9426b 100644 --- a/util/src/org/aspectj/util/LangUtil.java +++ b/util/src/org/aspectj/util/LangUtil.java @@ -157,6 +157,10 @@ public class LangUtil { return 10 <= vmVersion; } + public static boolean is11VMOrGreater() { + return 11 <= vmVersion; + } + /** * Shorthand for "if null, throw IllegalArgumentException" * |