> you are right.
> the sun implementation uses the thread's context class loader.
> however, i did not see the spec mandate this so if you want to be on the
> safe side maybe its better to explicitly use the method with the class
> loader input parameter.
Well, the behavior of JAXBContext.newInstance(String) belongs to the
spec, not an implementation. So that behavior is guaranteed for any JAXB
implementation.
--
Kohsuke Kawaguchi <kohsuke.kawaguchi_at_sun.com>