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

issues inferring type annotations on records

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 15
    • None
    • tools
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: