This content has been marked as final.
Show 8 replies
-
1. Re: JBMICROCONT-232, VFSUtils.addManifestLocations
alesj Jan 25, 2008 12:14 PM (in response to starksm64)I get this failure while running VFS tests:
java.lang.IllegalArgumentException: Single . in path is not allowed: ./jar2.jar at org.jboss.virtual.plugins.vfs.helpers.PathTokenizer.getTokens(PathTokenizer.java:101) at org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structuredFindChild(AbstractVirtualFileHandler.java:336) at org.jboss.virtual.plugins.context.file.FileHandler.getChild(FileHandler.java:217) at org.jboss.virtual.plugins.context.AbstractVFSContext.getChild(AbstractVFSContext.java:125) at org.jboss.virtual.VFS.findChild(VFS.java:209) at org.jboss.virtual.VFSUtils.addManifestLocations(VFSUtils.java:155) at org.jboss.test.virtual.test.FileVFSUnitTestCase.testManifestClasspath(FileVFSUnitTestCase.java:1174)
Should we make '.' still illegal, or should I enable support for that as well? -
2. Re: JBMICROCONT-232, VFSUtils.addManifestLocations
starksm64 Jan 25, 2008 12:22 PM (in response to starksm64)I don't know why we need to restrict redundant paths. Any combination of . and .. should be allowed and resolvable to the canonical form without any . or ..
-
3. Re: JBMICROCONT-232, VFSUtils.addManifestLocations
adrian.brock Jan 25, 2008 1:09 PM (in response to starksm64)That should have been part of this
http://jira.jboss.com/jira/browse/JBMICROCONT-211
but you only did .. ;-) -
4. Re: JBMICROCONT-232, VFSUtils.addManifestLocations
alesj Jan 25, 2008 5:02 PM (in response to starksm64)"adrian@jboss.org" wrote:
That should have been part of this
http://jira.jboss.com/jira/browse/JBMICROCONT-211
but you only did .. ;-)
I fail to see where JIRA issue is mentioning '.', except for stating the fact how its currently handled. ;-) -
5. Re: JBMICROCONT-232, VFSUtils.addManifestLocations
alesj Jan 25, 2008 5:53 PM (in response to starksm64)"scott.stark@jboss.org" wrote:
I don't know why we need to restrict redundant paths. Any combination of . and .. should be allowed and resolvable to the canonical form without any . or ..
I'll add this with the VFS Beta8 Dimitris mentioned today. -
6. Re: JBMICROCONT-232, VFSUtils.addManifestLocations
starksm64 Jan 28, 2008 11:39 PM (in response to starksm64)I released vfs 2.0.0.Beta8
-
7. Re: JBMICROCONT-232, VFSUtils.addManifestLocations
alesj Jan 29, 2008 1:14 AM (in response to starksm64)"scott.stark@jboss.org" wrote:
I released vfs 2.0.0.Beta8
Uf, I wanted to wait till we got to the bottom of this:
- http://www.jboss.org/index.html?module=bb&op=viewtopic&t=128620 -
8. Re: JBMICROCONT-232, VFSUtils.addManifestLocations
starksm64 Jan 29, 2008 1:46 AM (in response to starksm64)Beta9