Forwarding this to the serviceability-dev@... alias and Bcc'ing jdk-dev@... which is a really broad alias...
Dan On 9/18/19 2:47 PM, Sam Thomas wrote:
Hi, I'm trying to understand if a class will load as soon as all the transformers return. The aim is to get a class reference of a class I have seen in my transformer. I'm currently using Class.forName(). Also if there is way to get the same without triggering class loading - if the class is not loaded return a null reference. I ask this because there is a scenario where there are two agents on JBoss where one asks for the class reference using Class.forName() and the other went and performed a redefineClass() on it and I end up getting a Failed to define class. Thanks ./Sam