From 547499528883a584651fdc12279331d56a32c5e7 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Fri, 12 Oct 2018 12:14:00 +0200 Subject: [PATCH] Exclude original AsmApi class from CGLIB repack jar Issue: SPR-17371 --- spring-core/spring-core.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-core/spring-core.gradle b/spring-core/spring-core.gradle index 14475d3221c..ce425fbf1da 100644 --- a/spring-core/spring-core.gradle +++ b/spring-core/spring-core.gradle @@ -94,6 +94,7 @@ jar { from(zipTree(cglibRepackJar.archivePath)) { include "org/springframework/cglib/**" exclude "org/springframework/cglib/core/AbstractClassGenerator*.class" + exclude "org/springframework/cglib/core/AsmApi.class" exclude "org/springframework/cglib/core/KeyFactory.class" exclude "org/springframework/cglib/core/KeyFactory\$*.class" exclude "org/springframework/cglib/core/ReflectUtils*.class"