Java ClassFileTransformer fails to throw exception
I have code that attempts to redefine a class at runtime using a ClassFileTransformer
and an instance of Instrumentation
.
However, I’ve noticed that the transform
method of ClassFileTransformer
fails to throw any exceptions.