Permalink
Browse files

exception capture on try/catch fixed too :)

  • Loading branch information...
qmx committed Jul 26, 2012
1 parent cb91dac commit ecf9b1595476957f10c69d1a1d5668fc7585e40d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/dynjs/runtime/RT.java
@@ -172,7 +172,7 @@ public static void trycatchfinally(MethodHandles.Lookup caller, Object self, Dyn
.fold(pushException)
.convert(void.class, Function.class, Object.class)
.collect(1, Object[].class)
- .insert(1, self)
+ .insert(1, _catch)
.insert(2, context)
.convert(FCALL_MT)
.invokeVirtual(caller, "call")

0 comments on commit ecf9b15

Please sign in to comment.