Integrated: 8338700: AttributeMapper type parameter should be bounded by Attribute

Chen Liang liach at openjdk.org
Fri Aug 23 15:19:07 UTC 2024


On Wed, 21 Aug 2024 23:20:38 GMT, Chen Liang <liach at openjdk.org> wrote:

> A minor oversight in AttributeMapper type parameter bounds, that it should be bounded by Attribute. Only real impact is in BoundAttribute.readAttributes where a cast is now omitted, as other sites of access like Attribute::attributeMapper has already bounded the returned type argument.

This pull request has now been integrated.

Changeset: a461369f
Author:    Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a461369f16a2d92ab428d14c36dd69fa5942bbc5
Stats:     6 lines in 5 files changed: 0 ins; 0 del; 6 mod

8338700: AttributeMapper type parameter should be bounded by Attribute

Reviewed-by: asotona

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

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


More information about the core-libs-dev mailing list