new and newInstance
Posted on 2001-06-30
I use a custom class loader for my application. The problem is: if I create an object somewhere in my app with a pair loadClass - newInstance, it's OK. If I do it with new, i become an error in defineClass function. The arguments are in both cases the same. Question: does not new do the same as loadClass - newInstance?