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: