Remove ASM dependency and use Spring Core's instead
Depending on ASM itself can cause problems as it can clash with other libraries' dependency on it. This commit updates spring-boot-loader-tools to depend upon spring-core and use its repackaged copy of ASM instead. Depending on spring-core also brings with it the advantage of giving access to its various bits of utility code. spring-boot-maven-plugin has been updated to remove its ASM exclusions as they will no longer clash with the version from spring-boot-loader-tools (59483608)
This commit is contained in:
@@ -33,11 +33,11 @@ import java.util.List;
|
||||
import java.util.jar.JarEntry;
|
||||
import java.util.jar.JarFile;
|
||||
|
||||
import org.objectweb.asm.ClassReader;
|
||||
import org.objectweb.asm.ClassVisitor;
|
||||
import org.objectweb.asm.MethodVisitor;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.Type;
|
||||
import org.springframework.asm.ClassReader;
|
||||
import org.springframework.asm.ClassVisitor;
|
||||
import org.springframework.asm.MethodVisitor;
|
||||
import org.springframework.asm.Opcodes;
|
||||
import org.springframework.asm.Type;
|
||||
|
||||
/**
|
||||
* Finds any class with a {@code public static main} method by performing a breadth first
|
||||
|
||||
Reference in New Issue
Block a user