diff options
author | Andy Clement <aclement@pivotal.io> | 2019-03-06 17:49:50 -0800 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2019-03-06 17:49:50 -0800 |
commit | eca9069c8f670a2ef29f9be97c029810165110c2 (patch) | |
tree | e4c534efe6c57b2689764d592e3e448f71ef3b6e /weaver | |
parent | e1ced25c962794111ca4579ec1b70316e071282d (diff) | |
download | aspectj-eca9069c8f670a2ef29f9be97c029810165110c2.tar.gz aspectj-eca9069c8f670a2ef29f9be97c029810165110c2.zip |
extra check...
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/main/java/org/aspectj/weaver/bcel/ClassPathManager.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/weaver/src/main/java/org/aspectj/weaver/bcel/ClassPathManager.java b/weaver/src/main/java/org/aspectj/weaver/bcel/ClassPathManager.java index b20911245..d617bbfa3 100644 --- a/weaver/src/main/java/org/aspectj/weaver/bcel/ClassPathManager.java +++ b/weaver/src/main/java/org/aspectj/weaver/bcel/ClassPathManager.java @@ -106,7 +106,9 @@ public class ClassPathManager { } try { if (lc.endsWith(LangUtil.JRT_FS)) { // Java9 - entries.add(new JImageEntry()); + if (LangUtil.is19VMOrGreater()) { + entries.add(new JImageEntry()); + } } else { entries.add(new ZipFileEntry(f)); } |