[Patch] gnu.java.beans.IntrospectionIncubator
Michael Koch
konqueror@gmx.de
Mon Feb 21 23:39:00 GMT 2005
Hi list,
I merged the attached patch from classpath to make a former merge
complete. I accidently merged only the unimportant parts of the a patch.
This fixes the issues in mentioned in the link below.
Michael
2005-02-21 Robert Schuster <theBohemian@gmx.net>
* gnu/java/beans/IntrospectionIncubator.java
(addMethod) Reverts the patch that ntroduced a regression (see bug
https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
-------------- next part --------------
Index: gnu/java/beans/IntrospectionIncubator.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/java/beans/IntrospectionIncubator.java,v
retrieving revision 1.7
diff -u -r1.7 IntrospectionIncubator.java
--- gnu/java/beans/IntrospectionIncubator.java 30 Nov 2004 23:58:35 -0000 1.7
+++ gnu/java/beans/IntrospectionIncubator.java 21 Feb 2005 22:38:30 -0000
@@ -99,8 +99,7 @@
* @param method The method instance to examine.
*/
public void addMethod(Method method) {
- if(Modifier.isPublic(method.getModifiers()) &&
- !Modifier.isStatic(method.getModifiers())) {
+ if(Modifier.isPublic(method.getModifiers())) {
String name = ClassHelper.getTruncatedName(method.getName());
Class retType = method.getReturnType();
Class[] params = method.getParameterTypes();
More information about the Java-patches
mailing list