Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-216

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

    Details

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

      Operating System: All
      Platform: All

    • Bugzilla Id:
      34351

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: