commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Eckenfels (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (VFS-490) [vfsclassloader] tries to open folders with .zip or .jar extension
Date Thu, 19 Sep 2013 15:56:52 GMT

    [ https://issues.apache.org/jira/browse/VFS-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13771989#comment-13771989
] 

Bernd Eckenfels commented on VFS-490:
-------------------------------------

Started Question/Discussion on the commons-dev list: http://mail-archives.apache.org/mod_mbox/commons-dev/201309.mbox/%3Cop.w3mhbqc47zan39%40eckenfels02.seeburger.de%3E
                
> [vfsclassloader] tries to open folders with .zip or .jar extension
> ------------------------------------------------------------------
>
>                 Key: VFS-490
>                 URL: https://issues.apache.org/jira/browse/VFS-490
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Bernd Eckenfels
>
> Whan adding folders with a name of *.zip or *.jar to the VFSClassLoader this will fail,
at it tries to open it as a layered filesystem. This can be fixed in the classloader by checking
the file type, but most likely canCreateFileSystem() needs to be changed.
> The following is a quickfixed version (it also inlines the Resource class)
> https://github.com/ecki/seeburger-vfs2/blob/master/vfs2provider-jdbctable/src/main/java/com/seeburger/vfs2/util/VFSClassLoader.java#L152

--
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

Mime
View raw message