Skip to content

Commit

Permalink
upgrade ASM for jdk16 -- fixes BYTEMAN-400
Browse files Browse the repository at this point in the history
  • Loading branch information
adinn committed Aug 10, 2020
1 parent 2b2abb3 commit 10d2440
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class BMJSRInliner extends ClassVisitor
{
public BMJSRInliner(ClassVisitor cv)
{
super(Opcodes.ASM7, cv);
super(Opcodes.ASM9, cv);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class BMLocalScopeAdapter extends ClassVisitor
{
public BMLocalScopeAdapter(ClassVisitor cv)
{
super(OpcodesHelper.ASM7, cv);
super(OpcodesHelper.ASM9, cv);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class RuleAdapter extends ClassVisitor
{
protected RuleAdapter(ClassVisitor cv, TransformContext transformContext)
{
super(Opcodes.ASM7, cv);
super(Opcodes.ASM9, cv);
this.transformContext = transformContext;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class ClassStructureAdapter extends ClassVisitor {
private String superName = null;
private String outerClass = null;

public ClassStructureAdapter() { super(Opcodes.ASM7); }
public ClassStructureAdapter() { super(Opcodes.ASM9); }

public boolean isInterface() {
return isInterface;
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
<!-- for testing: command line args to enable debugger and verbose trace -->
<debug.args>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 -Dorg.jboss.byteman.verbose</debug.args>
<!-- asm release version to use -->
<asm.version>7.3.1</asm.version>
<asm.version>9.0-beta</asm.version>
</properties>

<dependencyManagement>
Expand Down

0 comments on commit 10d2440

Please sign in to comment.