[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-451) NIO2 Implementation logic incorrect for determining directories

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Wed Apr 10 09:27:55 EDT 2013


     [ https://issues.jboss.org/browse/SHRINKWRAP-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Rubinger resolved SHRINKWRAP-451.
----------------------------------------

    Resolution: Done


Upstream: https://github.com/shrinkwrap/shrinkwrap/commit/3319e64c455a5f0e601b19066318d28c4bea3df1
                
> NIO2 Implementation logic incorrect for determining directories
> ---------------------------------------------------------------
>
>                 Key: SHRINKWRAP-451
>                 URL: https://issues.jboss.org/browse/SHRINKWRAP-451
>             Project: ShrinkWrap
>          Issue Type: Bug
>    Affects Versions: 1.1.2
>            Reporter: Andrew Rubinger
>            Assignee: Andrew Rubinger
>             Fix For: 1.1.3
>
>
> As reported by contributor Patrick Huy:
> While trying to use shrinkwrap as an in memory file system for testing I noticed that Files.walkFileTreePath does not work at all as
> {code}Path dirPath = fs.getPath("dir");
>  Files.createDirectory(dirPath);
>  Assert.assertTrue("Created directory was not a directory", Files.isDirectory(dirPath));{code}
> fails. Created directories are not correctly identified as such. Additionally the DirectoryStream implementation does not match what Java's implementation of walkFileTreePath expects (it returns all Files in the filesystem not just those beneath the specified path)

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


More information about the shrinkwrap-issues mailing list