Core Reflection API needs to be synchronized with JSR 292

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • 7
    • Affects Version/s: 7
    • Component/s: hotspot
    • None
    • generic
    • generic

      The types MethodHandle and InvokeDynamic support signature-polymorphic calls. This needs to be suitably modeled by the Core Reflection API. Probably getDeclaredMethod needs to return a different Method for every requested set of argument types, for signature-polymorphic names.

      Clearly getDeclaredMethods cannot return an infinite list of overloads.

      There does not seem to be a way to specify non-default return value types.

            Assignee:
            John Rose
            Reporter:
            John Rose
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: