[
https://issues.jboss.org/browse/AS7-725?page=com.atlassian.jira.plugin.sy...
]
Thomas Diesler edited comment on AS7-725 at 5/9/11 10:31 AM:
-------------------------------------------------------------
Done
{code}
// Register the vfs module as URLStreamHandlerFactory
try {
ModuleLoader bootLoader = Module.getBootModuleLoader();
Module vfsModule =
bootLoader.loadModule(ModuleIdentifier.create(VFS_MODULE_IDENTIFIER));
Module.registerURLStreamHandlerFactoryModule(vfsModule);
} catch (Exception ex) {
log.errorf(ex, "Cannot add module '%s' as URLStreamHandlerFactory
provider", VFS_MODULE_IDENTIFIER);
}
{code}
https://github.com/tdiesler/jboss-as/commit/0623bc62eebe16d6081e0144de4aa...
was (Author: thomas.diesler):
Done
{code}
// Register the vfs module as URLStreamHandlerFactory
try {
ModuleLoader bootLoader = Module.getBootModuleLoader();
Module vfsModule =
bootLoader.loadModule(ModuleIdentifier.create(VFS_MODULE_IDENTIFIER));
Module.registerURLStreamHandlerFactoryModule(vfsModule);
} catch (Exception ex) {
log.errorf(ex, "Cannot add module '%s' as URLStreamHandlerFactory
provider", VFS_MODULE_IDENTIFIER);
}
{code}
Register URLStreamHandlerFactories with modules API
---------------------------------------------------
Key: AS7-725
URL:
https://issues.jboss.org/browse/AS7-725
Project: Application Server 7
Issue Type: Task
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: 7.0.0.CR1
This currently relies on hacks that manipulate system properties
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira