Re: need help about code mobility
Niclas Hedhman <[email protected]>
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
On Friday 29 December 2006 11:38, Brian Pontarelli wrote: > I highly doubt this was arrogance. More than likely a language > barrier issue. Point taken. Still, general advice to everyone: If you want help, listen to what the helper is asking for. > BTW loadClass can eventually call defineClass, which can throw a > NoClassDefFoundError. I didn't test but if I recall correctly this happens > during linkage to parents, interfaces, etc. Correct, NCDFE happens when the loaded(!) class is being resolved (afaik not during defineClass), i.e. the referred classes are linked and possibly loaded. But, cl.loadClass( "B" ) will not generate "NCDFE: class B". Cheers Niclas -------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to [email protected]