aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authorLars Grefer <eclipse@larsgrefer.de>2020-08-14 00:25:54 +0200
committerLars Grefer <eclipse@larsgrefer.de>2020-08-14 00:25:54 +0200
commit05f797adde987f614684cb70999be99c549d6826 (patch)
treed60e24451cf58a67582cf5a939f5c06fa314617b /weaver
parentd7ba05ce26dd8f72c1d0695ece2cb03d035e3cf9 (diff)
downloadaspectj-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.java4
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));
}