You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/04/07 17:26:37 UTC

DO NOT REPLY [Bug 34351] New: - Provides a Class.getPublicMethod which returns public invocable Method

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34351>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34351

           Summary: Provides a Class.getPublicMethod which returns public
                    invocable Method
           Product: Commons
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Lang
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: alban.peignier@free.fr


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.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org