Skip to content

Commit

Permalink
Merge pull request #582 from bytedance/feat-jvm21
Browse files Browse the repository at this point in the history
fix asm lib on jdk21
  • Loading branch information
yoloyyh authored Mar 5, 2024
2 parents 9884e19 + 0d33ad7 commit 3b9a757
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rasp/jvm/JVMProbe/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ repositories {

dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.13.1'
implementation group: 'org.ow2.asm', name: 'asm-tree', version: '9.3'
implementation group: 'org.ow2.asm', name: 'asm-commons', version: '9.3'
implementation group: 'org.ow2.asm', name: 'asm-tree', version: '9.6'
implementation group: 'org.ow2.asm', name: 'asm-commons', version: '9.6'
implementation group: 'io.netty', name: 'netty-all', version: '4.1.85.Final'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.14.0'
implementation group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-yaml', version: '2.14.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ public byte[] transform(ClassLoader loader, String className, Class<?> classBein
ClassWriter classWriter = new SmithClassWriter(ClassWriter.COMPUTE_MAXS);

ClassVisitor classVisitor = new SmithClassVisitor(
Opcodes.ASM8,
Opcodes.ASM9,
classWriter,
smithClass.getId(),
classType,
Expand Down

0 comments on commit 3b9a757

Please sign in to comment.