dev@glassfish.java.net

Re: Classloading strategy for OSGi <was> Fwd: [Jersey] Jersey in Felix

From: Roberto Chinnici <Roberto.Chinnici_at_Sun.COM>
Date: Fri, 05 Dec 2008 19:04:20 +0100

Paul Sandoz wrote:
> On Dec 4, 2008, at 9:23 AM, Roberto Chinnici wrote:
>> clazz = Class.forName(name, false, cl);
> ^
> |
> Why is this "false" ?

In short, true vs. false won't make a difference except in the case of a
serialization framework trying to deserialize an array of a new type:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6500212

And no, I do not understand all the details.