Does "ASM based instrumentation" mean the Continuation Class Loader?

Nope ...at the moment the BCEL instrumentation is used by default.

From the ant-task source:

  /**
    * Sets the transformer to use.
    *
    * <p>
    * This option is unpublished, because in a long run we'll
    * likely to just focus on one transformer and get rid
    * of the other (and this option will be removed then.)
    *
    * @param name
    *      either "BCEL" or "ASM". Case insensitive.
    */
   public void setMode(String name) {
       name = name.toLowerCase();
       if(name.equals("bcel"))
           transformer = new BcelClassTransformer();
       else
       if(name.equals("asm"))
           transformer = new AsmClassTransformer();
       else
           throw new BuildException("Unrecognized mode: "+name);
   }


So

<javaflow srcdir="${src.dir}" dstDir="${src.dir}/.." mode="asm">
 <include name="**/TestThread.class" />
</javaflow>


That one works fine:

That's weird ...could please file all these information into a jira issue?

cheers
--
Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to