[jboss-jira] [JBoss JIRA] Closed: (JBCL-3) Package handling not working properly in new classloader

Adrian Brock (JIRA) jira-events at lists.jboss.org
Thu Feb 28 11:41:00 EST 2008


     [ http://jira.jboss.com/jira/browse/JBCL-3?page=all ]

Adrian Brock closed JBCL-3.
---------------------------

    Resolution: Done

> Package handling not working properly in new classloader
> --------------------------------------------------------
>
>                 Key: JBCL-3
>                 URL: http://jira.jboss.com/jira/browse/JBCL-3
>             Project: JBoss ClassLoader
>          Issue Type: Bug
>          Components: ClassLoader
>            Reporter: Adrian Brock
>         Assigned To: Adrian Brock
>             Fix For: JBossCL.2.0.0.Beta11
>
>
> The package handling is not working properly in the new classloader.
> 1) In the new classloader each classloader has no parent (unlike the old UnifiedClassLoader - UCL).
> Instead the parent is a Loader. This means that packages in the parent (e.g. the classpath) are not visible
> 2) In both the old and new classloader, packages are not retrieved across the peers
> this means that each classloader gets its own package object.
> This means that package sealing does not work.
> 3) Since the sealing check is in the URLClassLoader, the new classloader is not performing
> this check - it uses the SecureClassLoader

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list