diff --git a/src/main/java/de/thetaphi/forbiddenapis/AsmUtils.java b/src/main/java/de/thetaphi/forbiddenapis/AsmUtils.java index 3a31245..eade92f 100644 --- a/src/main/java/de/thetaphi/forbiddenapis/AsmUtils.java +++ b/src/main/java/de/thetaphi/forbiddenapis/AsmUtils.java @@ -180,7 +180,7 @@ private static byte[] readStream(final InputStream in) throws IOException { @SuppressWarnings("unused") public static ClassReader readAndPatchClass(InputStream in) throws IOException { final byte[] bytecode = readStream(in); - if (false) patchClassMajorVersion(bytecode, Opcodes.V22 + 1, Opcodes.V22); + if (false) patchClassMajorVersion(bytecode, Opcodes.V23 + 1, Opcodes.V23); return new ClassReader(bytecode); }