[jboss-jira] [JBoss JIRA] Moved: (JBCL-64) VFSClassLoaderPolicy->getProtectionDomain should use file protocol for codesource

Anil Saldhana (JIRA) jira-events at lists.jboss.org
Fri Nov 7 13:51:36 EST 2008


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

Anil Saldhana moved JBVFS-73 to JBCL-64:
----------------------------------------

              Project: JBoss ClassLoader  (was: JBoss VFS)
                  Key: JBCL-64  (was: JBVFS-73)
        Fix Version/s: JBossCL.2.0.0.GA
                           (was: 2.0.0.GA)
    Affects Version/s: JBossCL.2.0.0.CR5
                           (was: 2.0.0.CR5)
             Security:     (was: Public)


> VFSClassLoaderPolicy->getProtectionDomain should use file protocol 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