RFR: 8368831: ResourceParsingClassHierarchyResolver.getClassInfo(ClassDesc) throws unspecified UncheckedIOException [v2]

Chen Liang liach at openjdk.org
Mon Sep 29 21:21:38 UTC 2025


> ClassHierarchyResolver provided by users may sporadically run into exceptions due to reasons out of control, such as UncheckedIOException caused by a bad zip header. We should specify that users are allowed to fail their CHR when they encounter a failure when they support a ClassDesc to avoid hiding errors.

Chen Liang has updated the pull request incrementally with one additional commit since the last revision:

  Fix non-IAE propagation

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27559/files
  - new: https://git.openjdk.org/jdk/pull/27559/files/6521ab3c..31f72531

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

  Stats: 20 lines in 2 files changed: 18 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/27559.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27559/head:pull/27559

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


More information about the core-libs-dev mailing list