Integrated: 8304502: Classfile API class hierarchy makes assumptions when class is not resolved

Adam Sotona asotona at openjdk.org
Wed Mar 22 06:17:04 UTC 2023


On Mon, 20 Mar 2023 11:15:52 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

This pull request has now been integrated.

Changeset: 0156909a
Author:    Adam Sotona <asotona at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/0156909ab38072869e2eb9f5049042b9199d14a0
Stats:     21 lines in 4 files changed: 8 ins; 8 del; 5 mod

8304502: Classfile API class hierarchy makes assumptions when class is not resolved

Reviewed-by: jpai

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

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


More information about the core-libs-dev mailing list