RFR: 8304502: Classfile API class hierarchy makes assumptions when class is not resolved [v3]

Jaikiran Pai jpai at openjdk.org
Tue Mar 21 10:44:20 UTC 2023


On Tue, 21 Mar 2023 10:40:35 GMT, Adam Sotona <asotona at openjdk.org> wrote:

>> Classfile API class hierarchy makes assumptions when class is not resolved and that may lead to silent generation of invalid stack maps. Only debug-level log information of case is actually provided.
>> 
>> Proposed patch throws IllegalArgumentException when the class is not resolved instead.
>> 
>> Thanks for review.
>> 
>> Adam
>
> Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
> 
>   avoid repeated ClassHierarchyInfo of CD_Object instantiation in StaticClassHierarchyResolver

Marked as reviewed by jpai (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/13099#pullrequestreview-1350139685


More information about the core-libs-dev mailing list