aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2019-03-06 17:49:50 -0800
committerAndy Clement <aclement@pivotal.io>2019-03-06 17:49:50 -0800
commiteca9069c8f670a2ef29f9be97c029810165110c2 (patch)
treee4c534efe6c57b2689764d592e3e448f71ef3b6e /weaver
parente1ced25c962794111ca4579ec1b70316e071282d (diff)
downloadaspectj-eca9069c8f670a2ef29f9be97c029810165110c2.tar.gz
aspectj-eca9069c8f670a2ef29f9be97c029810165110c2.zip
extra check...
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/main/java/org/aspectj/weaver/bcel/ClassPathManager.java4
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));
}