Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8251041 [lworld] Investigate interplay between Records and Inline types
  3. JDK-8273202

[lworld] MethodParameters are not generated for factories for primitive records

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • tools
    • None
    • generic
    • generic

      When a plain record is generated, all of it's constructors get MethodParameters-attributes generated into the classfile.

      One would assume that the same would happen for the primitive records
      static object factory methods, so that they might look more or less the same from a reflection point of view.

      I'll investigate whether they would behave the same (reflection-wise) so they could get the same treatment in simple reflection cases.

            jespersm Jesper Møller
            jespersm Jesper Møller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: