diff --git a/byte-buddy-dep/src/main/java/net/bytebuddy/utility/OpenedClassReader.java b/byte-buddy-dep/src/main/java/net/bytebuddy/utility/OpenedClassReader.java index 6bcec09a340..08f076b368d 100644 --- a/byte-buddy-dep/src/main/java/net/bytebuddy/utility/OpenedClassReader.java +++ b/byte-buddy-dep/src/main/java/net/bytebuddy/utility/OpenedClassReader.java @@ -53,7 +53,7 @@ public class OpenedClassReader { experimental = false; } EXPERIMENTAL = experimental; - ASM_API = experimental ? (1 << 24 | 8 << 16) : Opcodes.ASM7; + ASM_API = Opcodes.ASM7; } /**