posted 18 years ago
I have a problem when I try to create a dynamic proxy object using the newInstance() method of a Constructor object. Why will not line 4 and 5 in the code compile ?
BTW, I know that instead of line 4 and 5 one could write:
Object proxy = Proxy.newProxyInstance(MainProgram.class.
getClassLoader(), interfaces, handler);
br,
Sven