On Wed, 17 Jul 2024 20:51:32 GMT, Chen Liang <li...@openjdk.org> wrote:

> Qualify the reading of entry lists with the anticipated types up-front, so we 
> throw the correct `ConstantPoolException` instead of `ClassCastException` 
> when we encounter malformed attribute lists. (`ClassModel.getInterfaces` 
> already behave correctly, in comparison)

This pull request has now been integrated.

Changeset: 902c2afb
Author:    Chen Liang <li...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/902c2afb6714f778e3229c8411e9f9d5c392b388
Stats:     65 lines in 2 files changed: 43 ins; 8 del; 14 mod

8336585: BoundAttribute.readEntryList not type-safe

Reviewed-by: asotona

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

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

Reply via email to