RFR: 8305945: (zipfs) Opening a directory to get input stream produces incorrect exception message

Lance Andersen lancea at openjdk.org
Fri Apr 14 20:30:35 UTC 2023


Please review this trivial change when ZipFS returns the wrong java.nio.file.FileSystemException message due the the parameters being reversed.

I also included a simple junit test as part of the fix.

Mach5 tiers1-3 are clean

Best
Lance

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

Commit messages:
 - (zipfs) Opening a directory to get input stream produces incorrect exception message

Changes: https://git.openjdk.org/jdk/pull/13482/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13482&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8305945
  Stats: 99 lines in 2 files changed: 98 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/13482.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13482/head:pull/13482

PR: https://git.openjdk.org/jdk/pull/13482


More information about the nio-dev mailing list