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

Chen Liang liach at openjdk.org
Tue Sep 30 23:42:15 UTC 2025


On Tue, 30 Sep 2025 14:04:10 GMT, Adam Sotona <asotona at openjdk.org> wrote:

>> Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix non-IAE propagation
>
> src/java.base/share/classes/jdk/internal/classfile/impl/ClassHierarchyImpl.java line 79:
> 
>> 77:         } catch (Exception ex) {
>> 78:             if (ex instanceof IllegalArgumentException iae)
>> 79:                 throw iae;
> 
> Suggestion:
> 
>         } catch (IllegalArgumentException iae) {
>             throw iae;
>         } catch (RuntimeException ex) {

Thanks, pulled and tested again and works. Please review again.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27559#discussion_r2393064589


More information about the core-libs-dev mailing list