[jdk17u-dev] RFR: 8337966: (fs) Files.readAttributes fails with Operation not permitted on older docker releases

Alexey Bakhtin abakhtin at openjdk.org
Mon Sep 16 17:11:18 UTC 2024


Almost clean backport from JDK21

The only difference is an additional EPERM check in the stat1 method. This method was removed in JDK21 as part of JDK-8283335

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

Commit messages:
 - Backport 7a97e314b52a4045ca8238eae5ba730618939bf7

Changes: https://git.openjdk.org/jdk17u-dev/pull/2883/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2883&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8337966
  Stats: 31 lines in 1 file changed: 18 ins; 8 del; 5 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/2883.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/2883/head:pull/2883

PR: https://git.openjdk.org/jdk17u-dev/pull/2883


More information about the jdk-updates-dev mailing list