Commit 490ee176 by Mark Wielaard Committed by Michael Koch

Reported by M.Negovanovic

2003-10-18  Mark Wielaard  <mark@klomp.org>

	Reported by M.Negovanovic
	* java/beans/IndexedPropertyDescriptor.java
	(IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.

From-SVN: r72637
parent cde85594
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.
......@@ -216,7 +216,7 @@ public class IndexedPropertyDescriptor extends PropertyDescriptor {
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());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment