Author: ebourg
Date: Mon Apr 28 20:58:40 2014
New Revision: 1590791
URL: http://svn.apache.org/r1590791
Log:
Fixed an IllegalStateException with ASM 5
Modified:
commons/sandbox/javaflow/trunk/src/main/java/org/apache/commons/javaflow/bytecode/transformation/asm/ContinuationMethodAnalyzer.java
Modified:
commons/sandbox/javaflow/trunk/src/main/java/org/apache/commons/javaflow/bytecode/transformation/asm/ContinuationMethodAnalyzer.java
URL:
http://svn.apache.org/viewvc/commons/sandbox/javaflow/trunk/src/main/java/org/apache/commons/javaflow/bytecode/transformation/asm/ContinuationMethodAnalyzer.java?rev=1590791&r1=1590790&r2=1590791&view=diff
==============================================================================
---
commons/sandbox/javaflow/trunk/src/main/java/org/apache/commons/javaflow/bytecode/transformation/asm/ContinuationMethodAnalyzer.java
(original)
+++
commons/sandbox/javaflow/trunk/src/main/java/org/apache/commons/javaflow/bytecode/transformation/asm/ContinuationMethodAnalyzer.java
Mon Apr 28 20:58:40 2014
@@ -54,7 +54,7 @@ public class ContinuationMethodAnalyzer
public int stackRecorderVar;
public ContinuationMethodAnalyzer(String className, ClassVisitor cv,
MethodVisitor mv, int access, String name, String desc, String signature,
String[] exceptions) {
- super(access, name, desc, signature, exceptions);
+ super(Opcodes.ASM4, access, name, desc, signature, exceptions);
this.className = className;
this.cv = cv;
this.mv = mv;