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

[lworld] Primary mirror and nullable mirror for inline type

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: core-libs
    • Labels:

      Description

      Class::toNullableClass returns the mirror for V?
      Class::toPrimaryClass returns the mirror for V

      Class.forName("Point") returns the primary mirror

      For migration, the primary mirror for null-default inline class is V? (null-default inline class has only one mirror)

      Class.forName("[QPoint;") produces an array class mirror of Point element type
      Class.forName("[LPoint;") produces an array class mirror of Point? element type

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mchung Mandy Chung
              Reporter:
              mchung Mandy Chung
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: