RFR: 8271079: JavaFileObject#toUri and multi-release jars [v4]

Alan Bateman alanb at openjdk.java.net
Mon Dec 13 07:27:16 UTC 2021


On Sat, 11 Dec 2021 11:29:50 GMT, Christian Stein <cstein at openjdk.org> wrote:

>> Prior to this PR, `toUri()` of class `ZipPath` in module `jdk.zipfs` and class `PathFileObject` in module `jdk.compiler` were always composed by base path names. Even for versioned entries of a multi-release JAR file.
>> 
>> Now, a `URI` for an entry is composed of its real path names using an existing lookup function in the associated zip file system object.
>> 
>> This PR also removes a superseded work around for [JDK-8134451](https://bugs.openjdk.java.net/browse/JDK-8134451).
>> 
>> Fixes https://bugs.openjdk.java.net/browse/JDK-8271079
>
> Christian Stein has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add bug number `8271079` to ZipFS tester

I'll leave Jon or Lance to sponsor this.

-------------

Marked as reviewed by alanb (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/6768


More information about the nio-dev mailing list