aboutsummaryrefslogtreecommitdiffstats
path: root/loadtime/src
diff options
context:
space:
mode:
authorLars Grefer <eclipse@larsgrefer.de>2020-08-13 23:21:11 +0200
committerLars Grefer <eclipse@larsgrefer.de>2020-08-13 23:21:11 +0200
commitd7ba05ce26dd8f72c1d0695ece2cb03d035e3cf9 (patch)
treeb0ca80a1154a73ca8ed1d5d4cf175c2682af6fce /loadtime/src
parent4f027bd94fe71756894f13a4a82123eda4f28b98 (diff)
downloadaspectj-d7ba05ce26dd8f72c1d0695ece2cb03d035e3cf9.tar.gz
aspectj-d7ba05ce26dd8f72c1d0695ece2cb03d035e3cf9.zip
Remove checks for old Java Versions
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Diffstat (limited to 'loadtime/src')
-rw-r--r--loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java b/loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
index 0edd55721..ca297eb6e 100644
--- a/loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
+++ b/loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
@@ -371,7 +371,7 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor {
world.performExtraConfiguration(weaverOption.xSet);
world.setXnoInline(weaverOption.noInline);
// AMC - autodetect as per line below, needed for AtAjLTWTests.testLTWUnweavable
- world.setBehaveInJava5Way(LangUtil.is15VMOrGreater());
+ world.setBehaveInJava5Way(true);
world.setAddSerialVerUID(weaverOption.addSerialVersionUID);
/* First load defaults */