RFR: 8289984: Files:isDirectory and isRegularFile methods not throwing SecurityException

Lance Andersen lancea at openjdk.org
Fri Jul 8 18:28:07 UTC 2022


Hi all,

Please review this change to address the fact that we were missing a permissions check when the SecurityManager is enabled

The failing jck tests are passing locally and just waiting on another platform to complete on Mach5  and will be good to go

Best
Lance

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

Commit messages:
 - Fix for JDK-8289984

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

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


More information about the nio-dev mailing list