Attila Szegedi schrieb:
[...]
> *Sigh* It's an old, sad story. Serialization predates thread context  
> class loaders, hence doesn't rely on them (for backwards  
> compatibility), even though that would be the ideal thing to do. It's  
> one of those places where I *really* wish Sun would break backwards  
> compatibility, because the default behaviour hardly seems ideal. When  
> it's your code doing deserialization, you can of course just override  
> resolveClass() as you did below.

a typical usage could be that if the class loading was not successful 
then we use the context loader... this would be quite compatible to 
before, only reducing the cases this method fails for.

bye blackdrag
-- 
Jochen "blackdrag" Theodorou
The Groovy Project Tech Lead (http://groovy.codehaus.org)
http://blackdragsview.blogspot.com/
http://www.g2one.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to jvm-languages@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to