Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8338700

AttributeMapper type parameter should be bounded by Attribute

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 24
    • core-libs
    • None

      Currently AttributeMapper's type parameter declaration is `<A>`, and it should be `<A extends Attribute<A>>`. This way, we can also remove an extra cast in BoundAttribute::readAttributes.

      Courtesy to [~dlsmith] for reporting.

            liach Chen Liang
            liach Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: