Class TryCatchBlockHandler


  • public class TryCatchBlockHandler
    extends java.lang.Object
    Adds "if (e instanceof Interrupt) throw (Interrupt)e;" to each catch block. This prevent COPPERs Interrupts thrown by the COPPER wait calls to be handled in the exception handlers.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void instrument​(org.objectweb.asm.tree.ClassNode cn)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TryCatchBlockHandler

        public TryCatchBlockHandler()
    • Method Detail

      • instrument

        public void instrument​(org.objectweb.asm.tree.ClassNode cn)