Uploaded image for project: 'JBoss VFS'
  1. JBoss VFS
  2. JBVFS-18

Seeing jar:jar urls for nested jars with a SynthenticDirEntryHandler parent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Beta12
    • 2.0.0.Beta9
    • None
    • None

      In testing the current vfs trunk with jbossas using the jboss.vfs.forceNoCopy=true setting, the jdk jar: protocol handler ends up puking on jar:jar: type of urls.

      Caused by: java.lang.RuntimeException: java.net.MalformedURLException: no !/ in spec
      at org.jboss.virtual.plugins.context.AbstractURLHandler.initCacheLastModified(AbstractURLHan
      dler.java:76)
      at org.jboss.virtual.plugins.context.AbstractURLHandler.<init>(AbstractURLHandler.java:65)
      at org.jboss.virtual.plugins.context.jar.SynthenticDirEntryHandler.<init>(SynthenticDirEntryHandler.java:77)
      at org.jboss.virtual.plugins.context.jar.AbstractStructuredJarHandler.createSynthenticParent
      (AbstractStructuredJarHandler.java:239)
      at org.jboss.virtual.plugins.context.jar.AbstractStructuredJarHandler.buildParents(AbstractS
      tructuredJarHandler.java:227)
      at org.jboss.virtual.plugins.context.jar.AbstractStructuredJarHandler.initJarFile(AbstractSt
      ructuredJarHandler.java:166)
      at org.jboss.virtual.plugins.context.jar.NestedJarFromStream.init(NestedJarFromStream.java:9
      1)
      at org.jboss.virtual.plugins.context.jar.NestedJarFromStream.getChild(NestedJarFromStream.ja
      va:108)
      at org.jboss.virtual.plugins.context.jar.NoCopyNestedJarHandler.getChild(NoCopyNestedJarHand
      ler.java:130)
      at org.jboss.virtual.VirtualFile.getChild(VirtualFile.java:407)
      at org.jboss.deployers.vfs.plugins.structure.explicit.DeclaredStructure.determineStructure(D
      eclaredStructure.java:64)
      ... 63 more

      This is not seen with the 2.0.0.Beta9 vfs release.

              ajustin@redhat.com Ales Justin
              starksm64 Scott Stark (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: