[jboss-jira] [JBoss JIRA] (WFLY-1516) Cannot iterate over module resources on WinOS

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Thu Jun 13 06:09:54 EDT 2013


Thomas Diesler created WFLY-1516:
------------------------------------

             Summary: Cannot iterate over module resources on WinOS
                 Key: WFLY-1516
                 URL: https://issues.jboss.org/browse/WFLY-1516
             Project: WildFly
          Issue Type: Bug
          Components: Server
            Reporter: Thomas Diesler
            Assignee: Jason Greene
            Priority: Critical
             Fix For: 8.0.0.Alpha2


{code}
    Caused by: java.lang.IllegalArgumentException: Cannot compare relative and absolute paths
        at org.jboss.modules.PathUtils.isChild(PathUtils.java:226)
        at org.jboss.modules.JarFileResourceLoader$1.hasNext(JarFileResourceLoader.java:243)
        at org.jboss.modules.ModuleClassLoader$2.hasNext(ModuleClassLoader.java:657)
        at org.jboss.osgi.resolver.spi.AbstractResourceBuilder.loadFrom(AbstractResourceBuilder.java:347)
{code}

The code in AbstractResourceBuilder is

{code}
   Iterator<Resource> it = module.getClassLoader().iterateResources("", true);
   while (it.hasNext())
{code}

Seems to be happening on WinOS only

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list