RFR: 8360887: (fs) Files.getFileAttributeView returns unusable FileAttributeView if UserDefinedFileAttributeView unavailable (aix) [v3]

Martin Doerr mdoerr at openjdk.org
Mon Jun 30 13:00:20 UTC 2025


> We need to fix this wrong behavior on AIX and the test should catch it. Please review!
> 
> Returning null is required: https://github.com/openjdk/jdk/blob/c2d76f9844aadf77a0b213a9169a7c5c8c8f1ffb/src/java.base/share/classes/java/nio/file/spi/FileSystemProvider.java#L924

Martin Doerr has updated the pull request incrementally with one additional commit since the last revision:

  Move test to FileStore/Basic.java.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26021/files
  - new: https://git.openjdk.org/jdk/pull/26021/files/a8ffcbc0..8bfd42a1

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

  Stats: 15 lines in 2 files changed: 6 ins; 5 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/26021.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26021/head:pull/26021

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


More information about the nio-dev mailing list