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

Clean up JavaLangReflectAccess

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: