[jboss-jira] [JBoss JIRA] Updated: (JBCL-64) VFSClassLoaderPolicy->getProtectionDomain should use VFS real url for CodeSource

Anil Saldhana (JIRA) jira-events at lists.jboss.org
Mon Nov 10 17:14:37 EST 2008


     [ https://jira.jboss.org/jira/browse/JBCL-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anil Saldhana updated JBCL-64:
------------------------------

    JBoss Forum Reference: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=102673&postdays=0&postorder=asc&start=50


> VFSClassLoaderPolicy->getProtectionDomain should use VFS real url for CodeSource
> --------------------------------------------------------------------------------
>
>                 Key: JBCL-64
>                 URL: https://jira.jboss.org/jira/browse/JBCL-64
>             Project: JBoss ClassLoader
>          Issue Type: Feature Request
>    Affects Versions: JBossCL.2.0.0.CR5
>            Reporter: Anil Saldhana
>            Assignee: Anil Saldhana
>             Fix For: JBossCL.2.0.0.GA
>
>
> VirtualFile root = findRoot(path);
>          URL codeSourceURL = root.toURL(); 
>          
>          /**
>           * Currently we are just dealing with the root
>           * So we will use the file equivalent of the root
>           */ 
>          URL modifiedURL = new URL(FILE_PROTOCOL,
>                codeSourceURL.getHost(), codeSourceURL.getPort(),
>                codeSourceURL.getFile());
>          

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

        



More information about the jboss-jira mailing list