Java Class modification order using BCEL

162 Views Asked by At

When does a java library (bcel in my case.) modify other code?

Will this happen before or after a class in question is loaded by classloader's bootstrap process?

1

There are 1 best solutions below

0
On

BCEL loads classes as files after your application has started, and once you have a JavaClass reference you can start modifying the original class. No system ClassLoader loads the class you are about to modify in any way.