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

Clean up JavaLangReflectAccess

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 24
    • 24
    • core-libs
    • None

    Description

      JavaLangReflectAccess exposes a lot of unnecessary APIs: many getters are just for creating a new constructor with same values, which can be done in j.l.reflect and exposed through a single API. Some other APIs, like leafCopy, can be converted to getRoot().copy as well. In principle, we should reduce usages of SharedSecrets, using them only as the last resort.

      Attachments

        Issue Links

          Activity

            People

              liach Chen Liang
              liach Chen Liang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: