RFR: 8368831: ResourceParsingClassHierarchyResolver.getClassInfo(ClassDesc) throws unspecified UncheckedIOException
Chen Liang
liach at openjdk.org
Mon Sep 29 20:49:18 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.
-------------
Commit messages:
- Allow ClassHierarchyResolver to throw RuntimeException
Changes: https://git.openjdk.org/jdk/pull/27559/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27559&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8368831
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 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