I knew the isAssignableFrom() method also check the class loader.
So I tried set classLoader field in class object but failed.
Is there a trick for this?
I want to make the originalClass.isAssignableFrom(transformedClass) is true.
The transformed class has the same name as the original class and package.
Aucun commentaire:
Enregistrer un commentaire