Hi Peter,
Peter A wrote:
> Hi Jörg,
>
> I see that you posted a fix. Skimming through the code it looks like it
> should work. Just need to pass in a ClassLoaderReference with the
> ClassLoader set to null right?
Actually I thought that you will pass a ClassLoader from a class that is
already loaded, e.g. "new XStream(new
ClassLoaderReference(getClass().getClassLoader()))". Setting the reference
to null will currently raise NPEs, but I will have a look if I can use then
the bootstrap class loader instead (see Javadoc for Class.loadClass(,,)).
> There is also another bug that I need to report. I *think* with the
> JavaBeanConverter (if not that class then another one does) it mangles the
> case of single character variables. So 'R' becomes 'r' breaking
> compatibility with other converters. When I test your patch I'll submit
> the formal bug report.
Fine.
Note, that I have nothing done yet regarding the initialization errors for
the converters. I have the intent to do so, but you may open a separate JIRA
issue.
Regards,
Jörg
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email