+2003-10-18 Mark Wielaard <mark@klomp.org>
+
+ Reported by M.Negovanovic
+ * java/beans/IndexedPropertyDescriptor.java
+ (IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
+
2003-10-17 Mohan Embar <gnustuff@thisiscool.com>
* win32.cc (_Jv_pipe): Implemented.
/* java.beans.IndexedPropertyDescriptor
- Copyright (C) 1998 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2003 Free Software Foundation, Inc.
This file is part of GNU Classpath.
this.getMethod = getMethod;
this.setMethod = setMethod;
this.getIndex = getIndex;
- this.setIndex = getIndex;
+ this.setIndex = setIndex;
this.indexedPropertyType = getIndex != null ? getIndex.getReturnType() : setIndex.getParameterTypes()[1];
this.propertyType = getMethod != null ? getMethod.getReturnType() : (setMethod != null ? setMethod.getParameterTypes()[0] : Array.newInstance(this.indexedPropertyType,0).getClass());
}