--- a/JavaNativeMethod.st Mon Jan 21 14:28:18 2013 +0000
+++ b/JavaNativeMethod.st Mon Jan 21 17:43:30 2013 +0000
@@ -359,7 +359,7 @@
| sel mthd sender nArgs receiverAndArgsAndContext |
nCalls := (nCalls ? 0) + 1.
receiverAndArgsAndContext := Array new: (nArgs := context numArgs) + 1"receiver"+1"context".
- receiverAndArgsAndContext replaceFrom:2 to:nArgs with: context startingAt: context arg1Index.
+ receiverAndArgsAndContext replaceFrom:2 to:1 + nArgs with: context startingAt: context arg1Index.
receiverAndArgsAndContext at: 1 put: context receiver.
receiverAndArgsAndContext at: nArgs + 2 put: context.
@@ -390,7 +390,7 @@
JavaNativeMethod flushAllCachedNativeMethods"
"Created: / 27-10-2012 / 15:13:35 / Jan Vrany <jan.vrany@fit.cvut.cz>"
- "Modified: / 19-01-2013 / 23:50:14 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 21-01-2013 / 17:35:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!JavaNativeMethod class methodsFor:'documentation'!