On Wed, 21 Aug 2024 23:20:38 GMT, Chen Liang <li...@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. Note that this also affects binary compatibility as the erased type of `A` is now `java.lang.classfile.Attribute` instead of `java.lang.Object`. ------------- PR Comment: https://git.openjdk.org/jdk/pull/20668#issuecomment-2304091808