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

Christian Stein cstein at openjdk.java.net
Sat Dec 11 11:29:50 UTC 2021

> 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


  - all: https://git.openjdk.java.net/jdk/pull/6768/files
  - new: https://git.openjdk.java.net/jdk/pull/6768/files/12e106c6..353cbd5d

 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6768&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6768&range=02-03

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6768.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6768/head:pull/6768

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

More information about the compiler-dev mailing list