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

Reduce MemberName class dependency on MethodHandles

XMLWordPrintable

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

      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.


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

              Created:
              Updated:
              Resolved: