commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kohs...@apache.org
Subject svn commit: r360311 - /jakarta/commons/sandbox/javaflow/trunk/src/java/org/apache/commons/javaflow/bytecode/transformation/asm/ContinuationMethodAdapter.java
Date Sat, 31 Dec 2005 16:22:39 GMT
Author: kohsuke
Date: Sat Dec 31 08:22:38 2005
New Revision: 360311

URL: http://svn.apache.org/viewcvs?rev=360311&view=rev
Log:
I'm not totally sure about this change, but don't we need to pass through the values, basically?
or is it really right to pass (0,0)?

Modified:
    jakarta/commons/sandbox/javaflow/trunk/src/java/org/apache/commons/javaflow/bytecode/transformation/asm/ContinuationMethodAdapter.java

Modified: jakarta/commons/sandbox/javaflow/trunk/src/java/org/apache/commons/javaflow/bytecode/transformation/asm/ContinuationMethodAdapter.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/javaflow/trunk/src/java/org/apache/commons/javaflow/bytecode/transformation/asm/ContinuationMethodAdapter.java?rev=360311&r1=360310&r2=360311&view=diff
==============================================================================
--- jakarta/commons/sandbox/javaflow/trunk/src/java/org/apache/commons/javaflow/bytecode/transformation/asm/ContinuationMethodAdapter.java
(original)
+++ jakarta/commons/sandbox/javaflow/trunk/src/java/org/apache/commons/javaflow/bytecode/transformation/asm/ContinuationMethodAdapter.java
Sat Dec 31 08:22:38 2005
@@ -276,7 +276,7 @@
       
     mv.visitLocalVariable("__stackRecorder", "L"+STACK_RECORDER+";", null, startLabel, endLabel,
stackRecorderVar);
 
-    mv.visitMaxs(0, 0);
+    mv.visitMaxs(maxStack,stackRecorderVar+1);
   }
 
   void pushDefault(Type type) {



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message