Posted By:
Giacomo_Veneri
Posted On:
Saturday, March 1, 2008 12:28 PM
You need to use a different context class loader
Posted By:
Robert_Lybarger
Posted On:
Thursday, February 14, 2008 11:19 PM
So after starting up the virtual machine, which starts the default system class loader, which resolves and creates the initial MyClass class, you are later changing the associated MyClass.class file on the filesystem, and expecting the already-running VM to use the new code when you create another instance of MyClass? That'd be a bit of a security risk, so I doubt making that happen would be at all easy. Sounds like, if such a thing is possible, you'll have to monkey around with ClassLoaders or something. I've actually never played with this sort of thing, so its beyond my experience (other than what a search engine might help me dig up).