-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update ASMTransformerWrapper visitor class version
- Loading branch information
1 parent
daa0154
commit 2d935d4
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -166,7 +166,7 @@ private static byte[] makeWrapper(String fileName) | |
|
||
ClassWriter writer = new ClassWriter(ClassWriter.COMPUTE_FRAMES); | ||
|
||
writer.visit(Opcodes.V17, Opcodes.ACC_PUBLIC, name, null, wrapper.getInternalName(), null); | ||
writer.visit(Opcodes.V21, Opcodes.ACC_PUBLIC, name, null, wrapper.getInternalName(), null); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
kappa-maintainer
Author
Collaborator
|
||
|
||
Method m = Method.getMethod("void <init> ()"); | ||
GeneratorAdapter mg = new GeneratorAdapter(Opcodes.ACC_PUBLIC, m, null, null, writer); | ||
|
I dont think this version should be updated.
I think remain it Java 1.7 is OK (not 17 or 21)
since the content is just a 1.7 class.