RFR 8211919: ZipDirectoryStream should provide a stream of paths that are relative to the directory
Alan Bateman
Alan.Bateman at oracle.com
Mon Jan 14 19:05:41 UTC 2019
On 12/01/2019 20:13, Lance Andersen wrote:
> Hi all,
>
> The following patch addresses the issue where the stream of paths
> where not relative to the specified directory as needed.
>
> As part of the fix, I added additional DirectoryStream tests similar
> to the tests in nio/file/DirectoryStream/Basic.java.
>
> Webrev can be found: http://cr.openjdk.java.net/~lancea/8211919/webrev.00/
>
Lance -the relative path case looks right now but I think there are
issues with the absolute path case. Try an example such as
"/META-INF/../META-INF" to see what I mean.
-Alan
More information about the nio-dev
mailing list