RFR: 8289984: Files:isDirectory and isRegularFile methods not throwing SecurityException [v2]

Lance Andersen lancea at openjdk.org
Fri Jul 8 18:59:32 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

Lance Andersen has updated the pull request incrementally with one additional commit since the last revision:

  added bug number to @bug in CheckPermissions.java

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9433/files
  - new: https://git.openjdk.org/jdk/pull/9433/files/b2d2cf75..52d758e4

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9433&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9433&range=00-01

  Stats: 1 line in 1 file changed: 0 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