Although it makes some sense to disallow a relative path containing ".." from a VirtualFile.findChild, its too restricitve for the VFSUtils.addManifestLocations
java.lang.IllegalArgumentException: Reverse paths are not allowed (containing a . or ..), use getParent(): ../cp-mf.jar at org.jboss.virtual.plugins.vfs.helpers.PathTokenizer.getTokens(PathTokenizer.java:67) at org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structuredFindChild(AbstractVirtualFileHandler.java:230) at org.jboss.virtual.plugins.context.file.FileHandler.findChild(FileHandler.java:166) at org.jboss.virtual.VirtualFile.findChild(VirtualFile.java:374) at org.jboss.virtual.VFSUtils.addManifestLocations(VFSUtils.java:130)
I did change the VFSUtils.addManifestLocations implementation to build up the path by resolving the path element against the URL jar parent URL.