Loading... (original) (raw)
porting defmeth tests, I noticed that they hide some exceptions. for example, any exceptions thrown by vm.runtime.defmeth.shared.Utils.retransformClass / redefineClass (or any other methods called from prepare) will be wrapped by InvocationTargetException and later ignored in DefMethTest, so we fail before test code is executed, nobody calls DefMethTest::addFailureCount, as a result tests are reported as passed.