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

(reflect) java.lang.reflect.Method should use java.lang.invoke.MethodHandle

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P3
    • Resolution: Duplicate
    • 7, 8
    • None
    • core-libs

    Description

      Java 7 has method handles as part of JSR 292 (bug 6655638). Reflective method call should be reimplemented on top of method handles, to provide a more direct call path to the target method.

      With method handles there is no need to create adapter classes for calling methods. The JVM can link directly to any method using a direct method handle. This involves no class loading.

      Attachments

        Issue Links

          Activity

            People

              mchung Mandy Chung
              jrose John Rose
              Votes:
              1 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: