[jboss-jira] [JBoss JIRA] Commented: (JBVFS-151) AssemblyFileSystem should always check the target against the mount point

John Bailey (JIRA) jira-events at lists.jboss.org
Mon Mar 15 10:16:46 EDT 2010


    [ https://jira.jboss.org/jira/browse/JBVFS-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12519888#action_12519888 ] 

John Bailey commented on JBVFS-151:
-----------------------------------

This seems to already be implemented this way.  This issue needs to be reproduced.  I will have to pull up the test code I had that was causing the issue.

> AssemblyFileSystem should always check the target against the mount point
> -------------------------------------------------------------------------
>
>                 Key: JBVFS-151
>                 URL: https://jira.jboss.org/jira/browse/JBVFS-151
>             Project: JBoss VFS
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.0.0.CR3
>            Reporter: John Bailey
>            Assignee: John Bailey
>
> In the AssemblyFileSystem, if you call methods on the mount point of the assembly (like 'exists'), it will cause an infinite loop since the assembly is treating the target as a child.  This is based on how the VirtualFileAssembly manages children.  It assumes they are other VirtualFiles and delegates the method calls to VFS.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list