[nanocontainer-scm] [jira] Updated: (NANO-134) Classloader problem when a nanocontainer with the xml scripting builder runs in a eclipse rcp client
"Joerg Schaible (JIRA)" <jira-yCVjj/[email protected]> Wed, 11 May 2005 17:10:21 -0500 (CDT)
| Newsgroups | gmane.comp.java.nanocontainer.cvs |
|---|---|
| Message-ID | <14307807.1115849421865.JavaMail.haus-jira@codehaus01.managed.contegix.com> |
[ http://jira.codehaus.org/browse/NANO-134?page=all ]
Joerg Schaible updated NANO-134:
--------------------------------
Component: (was: eclipse)
core
> Classloader problem when a nanocontainer with the xml scripting builder runs in a eclipse rcp client
> ----------------------------------------------------------------------------------------------------
>
> Key: NANO-134
> URL: http://jira.codehaus.org/browse/NANO-134
> Project: NanoContainer
> Type: Bug
> Components: core
> Environment: Eclipse RCP 3.0, Nanocontainer snapshot (12-april-2005)
> Reporter: Reto Breitenmoser
> Priority: Minor
> Attachments: XMLContainerBuilder.java
>
>
> If the nanocontainer with the XMLContainerBuilder runs in the eclipse RCP environment, it gives classloader problems. In the method createComponentInstanceFactory(String factoryClass) a new DefaultNanoContainer is instantiated with the empty constructor. The DefaultNanoContainer tries to load the xxxComponentInstanceFactory first from an url and then it tries from the parent classloader. But in the parent classloader are only three eclipse classes. If the DefaultNanoContainer is instantiated with the classloader from the parent container, then it is configurable.
> Please verify if this is correct. Maybe there was reason why the DefaultNanoContainer in the createComponentInstanceFactory method was instantiated without the classloader.
> In the attachement is the XMLContainerBuilder class with the patch.
> Thanks
> Reto
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira