RFR: 8331467: ImageReaderFactory can cause a ClassNotFoundException if the default FileSystemProvider is not the system-default provider [v2]

jyxzwd duke at openjdk.org
Wed Nov 20 14:04:54 UTC 2024


> Use the built-in file system provider rather than the custom file system provider.
> Add "public static FileSystemProvider create" method in DefaultFileSystemProvider which is from java8API to be compatible against runtime.

jyxzwd has updated the pull request incrementally with two additional commits since the last revision:

 - 8331467: Fix JDK-8331467 ImageReaderFactory can cause a ClassNotFoundException if the default FileSystemProvider is not the system-default provider
 - Revert "8331467: Fix JDK-8331467 ImageReaderFactory can cause a ClassNotFoundException if the default FileSystemProvider is not the system-default provider"
   
   This reverts commit 318888339bdc2ee6a632e4850a980d91bff79e79.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21997/files
  - new: https://git.openjdk.org/jdk/pull/21997/files/31888833..10bae79b

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

  Stats: 66 lines in 8 files changed: 32 ins; 32 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/21997.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21997/head:pull/21997

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


More information about the core-libs-dev mailing list