VFSClassLoaderPolicy->getProtectionDomain should use file protocol for codesource
---------------------------------------------------------------------------------
Key: JBVFS-73
URL:
https://jira.jboss.org/jira/browse/JBVFS-73
Project: JBoss VFS
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.CR5
Reporter: Anil Saldhana
Assignee: Anil Saldhana
Fix For: 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