From 0c8bc15266125a5a8ad5bd54da69a68c0e49d660 Mon Sep 17 00:00:00 2001 From: Rafael Winterhalter Date: Tue, 21 Jan 2020 00:40:39 +0100 Subject: [PATCH] Fix opened class reader --- .../src/main/java/net/bytebuddy/utility/OpenedClassReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } /**