Hello, This is why I opened PR.

  1. if statement in the isTransformationCandidate operates normally without the else statement.
  2. transform is not throwing an IllegalClassFormatException.
  3. I thought that using logger would be more performant than printStackTrace.

I would appreciate any feedback on this PR. Thank You.

Comment From: bclozel

Thanks but I don't think those cosmetic changes help here.

We don't use a logger here as this is a Java agent that is meant to avoid loading any class that's not part of its codebase. Loading libraries like loggers would create lifecycle or class loading issues.