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

Reduce MemberName class dependency on MethodHandles

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 16
    • Component/s: core-libs
    • Labels:
      None

      Description

      The ensureInitialized method from MethodHandles.Lookup creates a transient MemberName object only to be used to throw an exception. This exception can be created in a more efficient manner without using this class reducing the number of classes required. This reduction in dependencies is beneficial to the GraalVM native-image tool and will be useful for future Leyden native image implementations.


        Attachments

          Activity

            People

            • Assignee:
              bobv Bob Vandette
              Reporter:
              bobv Bob Vandette
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: