traps: don't delete entry after consuming it
[mate.git] / Mate / MethodPool.hs
index 7a0cda170964a761e50affbfe0a3c31d43e940d0..f7038f3b1e1afdaa640d274ba1c5e2c39a4a954c 100644 (file)
@@ -50,7 +50,10 @@ getMethodEntry signal_from methodtable = do
           (InterfaceMethod _ (MethodInfo methname _ msig)) -> newMi methname msig
           _ -> error "getMethodEntry: no TrapCause found. abort."
         where newMi mn = MethodInfo mn (vmap M.! fromIntegral methodtable)
-  setTrapMap $ M.delete w32_from tmap
+  -- bernhard (TODO): doesn't work with gnu classpath at some point. didn't
+  --                  figured out the problem yet :/ therefore, I have no
+  --                  testcase for replaying the situation.
+  -- setTrapMap $ M.delete w32_from tmap
   case M.lookup mi' mmap of
     Nothing -> do
       cls <- getClassFile cm