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

Provide method handler to improve dynamic invoking instead of reflection

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 6
    • specification
    • x86
    • windows_xp

      A DESCRIPTION OF THE REQUEST :
      The method handler should similar to Dot net delegate, a delegate is a class that can hold a reference to a method, so that the compiler can perform type checking for method definition, not class level.
      so that it can very nice to support command pattern, at the same time, it also should provide best performance to dynamic invoke Java method.

      JUSTIFICATION :
      The method handler can provide more performance and nice type checking at compile time.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The method handler can refer to dot net delegate

            abuckley Alex Buckley
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: