Skip to content

Commit dd90f07

Browse files
committed
Bump ASM version to be Java 8+ compatible
Closes gh-10647
1 parent 8762d95 commit dd90f07

File tree

1 file changed

+2
-1
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools

1 file changed

+2
-1
lines changed

spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/MainClassFinder.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
import org.springframework.asm.ClassVisitor;
4242
import org.springframework.asm.MethodVisitor;
4343
import org.springframework.asm.Opcodes;
44+
import org.springframework.asm.SpringAsmInfo;
4445
import org.springframework.asm.Type;
4546

4647
/**
@@ -298,7 +299,7 @@ private static class ClassDescriptor extends ClassVisitor {
298299
private boolean mainMethodFound;
299300

300301
ClassDescriptor() {
301-
super(Opcodes.ASM4);
302+
super(SpringAsmInfo.ASM_VERSION);
302303
}
303304

304305
@Override

0 commit comments

Comments
 (0)