Integrated: 8271079: JavaFileObject#toUri and multi-release jars

Christian Stein cstein at openjdk.java.net
Mon Dec 13 12:03:21 UTC 2021


On Wed, 8 Dec 2021 15:26:23 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

This pull request has now been integrated.

Changeset: 23fd9f15
Author:    Christian Stein <cstein at openjdk.org>
Committer: Lance Andersen <lancea at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/23fd9f15da40cef00231380766158bc0fa537c38
Stats:     198 lines in 6 files changed: 177 ins; 18 del; 3 mod

8271079: JavaFileObject#toUri and multi-release jars

Reviewed-by: jjg, lancea, alanb

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

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


More information about the nio-dev mailing list