Package: jaffl / 0.5.9-5

use_asm4.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/src/com/kenai/jaffl/provider/jffi/SkinnyMethodAdapter.java
+++ b/src/com/kenai/jaffl/provider/jffi/SkinnyMethodAdapter.java
@@ -17,16 +17,18 @@
  *
  * @author headius
  */
-public class SkinnyMethodAdapter implements MethodVisitor, Opcodes {
+public class SkinnyMethodAdapter extends MethodVisitor implements Opcodes {
     private final static boolean DEBUG = Boolean.getBoolean("jaffl.compile.dump");
     private MethodVisitor method;
     
     /** Creates a new instance of SkinnyMethodAdapter */
     public SkinnyMethodAdapter(MethodVisitor method) {
+        super(Opcodes.ASM4);
         setMethodVisitor(method);
     }
     
     public SkinnyMethodAdapter() {
+        super(Opcodes.ASM4);
     }
     
     public MethodVisitor getMethodVisitor() {