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

[lworld] core reflection support on static <init> factory methods for inline types

    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

      See http://mail.openjdk.java.net/pipermail/valhalla-spec-observers/2019-April/000980.html

      The relevant APIs are:
      java.lang.reflect.Constructor::newInstance

      The static <init> factory method is considered as a constructor and hence not included in the returned value from Class::getDeclaredMethods.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rriggs Roger Riggs
              Reporter:
              mchung Mandy Chung
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: