RFR: 8338700: AttributeMapper type parameter should be bounded by Attribute
Adam Sotona
asotona at openjdk.org
Thu Aug 22 06:05:02 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.
Looks good to me, thanks.
-------------
Marked as reviewed by asotona (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/20668#pullrequestreview-2253566456
More information about the core-libs-dev
mailing list