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

Reduce MemberName class dependency on MethodHandles

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 16
    • core-libs
    • 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

            bobv Bob Vandette (Inactive)
            bobv Bob Vandette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: