On 05/11/2013 16:47, Nick Williams wrote:
> copyWithoutTransformers(), as defined in the interface 
> InstrumentableClassLoader, returns a ClassLoader. The start() method is not 
> defined in ClassLoader, it is specific to WebappClassLoader. Furthermore, 
> code calling copyWithoutTransformers() won't have access to WebappClassLoader 
> to call start() reflectively if a SecurityManager is enabled.
> 
> So, the copyWithoutTransformers() method needs to call start() before it 
> returns the copied class loader. Otherwise, it will be useless to JPA 
> providers and the like.

Fixed. Thanks.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to