Commons Lang
  1. Commons Lang
  2. LANG-216

[lang] [patch] Provides a Class.getPublicMethod which returns public invocable Method

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      Due to a bug into the JDK reflection API, no public classes can be difficult to
      invoke by reflecting. See the related bug:
      http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4071957

      The workaround consists to find the right Method declaration into the interfaces
      and superclasses.

      A ClassUtils.getPublicMethod(Class cls, String methodName, Class
      parameterTypes[]) can provide this small search.

        Activity

        Mark Thomas made changes -
        Workflow jira [ 12371069 ] Default workflow, editable Closed status [ 12601985 ]
        Henri Yandell made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Henri Yandell made changes -
        Fix Version/s 2.2 [ 12311702 ]
        Henri Yandell made changes -
        Project Commons [ 12310458 ] Commons Lang [ 12310481 ]
        Fix Version/s 2.2 [ 12311686 ]
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Key COM-2012 LANG-216
        Affects Version/s unspecified [ 12311647 ]
        Component/s Lang [ 12311121 ]
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 34351 12342164
        Alban Peignier created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Alban Peignier
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development