RFR: 8338700: AttributeMapper type parameter should be bounded by Attribute
Chen Liang
liach at openjdk.org
Thu Aug 22 11:20: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.
This consideration is already mentioned in the CSR.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20668#issuecomment-2304415300
More information about the core-libs-dev
mailing list