From d7ba05ce26dd8f72c1d0695ece2cb03d035e3cf9 Mon Sep 17 00:00:00 2001 From: Lars Grefer Date: Thu, 13 Aug 2020 23:21:11 +0200 Subject: Remove checks for old Java Versions Signed-off-by: Lars Grefer --- .../java/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loadtime/src') 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 */ -- cgit v1.2.3