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

issues inferring type annotations on records

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 15
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b06

      Description

      - for compact constructors, which implies that the parameter list is implicit, the compiler should push any (type) annotations from the record component to the corresponding parameter.

      - for the accessor, type annotations should be applied to the return type.

      reported by michael dot hixson at gmail dot com in amber-dev: http://mail.openjdk.java.net/pipermail/amber-dev/2019-December/005400.html

        Attachments

          Activity

            People

            Assignee:
            vromero Vicente Arturo Romero Zaldivar
            Reporter:
            vromero Vicente Arturo Romero Zaldivar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: