[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: JBMICROCONT-224

adrian@jboss.org do-not-reply at jboss.com
Fri Jan 11 11:08:17 EST 2008


"alesj" wrote : "adrian at jboss.org" wrote : 
  |   | It's resolve. It means do you resolveClass() when you load the class. ;-)
  |   | 
  | OK, I see what you mean now. :-)
  | But I don't understand what has this got to do with Class.forName(name, true, classloader);

? I've said it twice above.

The second parameter in Class.forName() is the same as resolve.
ClassLoader.loadClass() is the same as Class.forName(name, false, classLoader)
except it also loads array classes in JDK7+, they both did before.

initialize or resolve=true is a red herring. I just wrote true "at random" on the bug report
because the parameter needs a value.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119127#4119127

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119127



More information about the jboss-dev-forums mailing list