]
Andrew Rubinger resolved SHRINKWRAP-451.
----------------------------------------
Resolution: Done
Upstream:
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: