Java Class modification order using BCEL

158 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 answers

0
uraimo 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.