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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: