diff options
author | Lars Grefer <eclipse@larsgrefer.de> | 2020-08-14 00:25:54 +0200 |
---|---|---|
committer | Lars Grefer <eclipse@larsgrefer.de> | 2020-08-14 00:25:54 +0200 |
commit | 05f797adde987f614684cb70999be99c549d6826 (patch) | |
tree | d60e24451cf58a67582cf5a939f5c06fa314617b /weaver | |
parent | d7ba05ce26dd8f72c1d0695ece2cb03d035e3cf9 (diff) | |
download | aspectj-05f797adde987f614684cb70999be99c549d6826.tar.gz aspectj-05f797adde987f614684cb70999be99c549d6826.zip |
Simplify checks for Java 8 to true
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/main/java/org/aspectj/weaver/bcel/ClassPathManager.java | 4 |
1 files changed, 1 insertions, 3 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 81dde3f58..cd378dbbf 100644 --- a/weaver/src/main/java/org/aspectj/weaver/bcel/ClassPathManager.java +++ b/weaver/src/main/java/org/aspectj/weaver/bcel/ClassPathManager.java @@ -108,9 +108,7 @@ public class ClassPathManager { } try { if (name.toLowerCase().endsWith(LangUtil.JRT_FS)) { // Java9+ - if (LangUtil.is18VMOrGreater()) { - entries.add(new JImageEntry(name)); - } + entries.add(new JImageEntry(name)); } else { entries.add(new ZipFileEntry(f)); } |