diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-18 09:00:41 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-18 09:00:41 +0000 |
commit | 83e71a43a4c84f1f1312b360278a12edab539dd5 (patch) | |
tree | f530fb4be3d584816db6bf8a943edcded4e32e2c /libjava | |
parent | a0eb9d79a19ef3ac2e35f43efa118f8f5b56a5c3 (diff) | |
download | gcc-83e71a43a4c84f1f1312b360278a12edab539dd5.tar.gz |
2003-10-18 Mark Wielaard <mark@klomp.org>
Reported by M.Negovanovic
* java/beans/IndexedPropertyDescriptor.java
(IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72637 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 6 | ||||
-rw-r--r-- | libjava/java/beans/IndexedPropertyDescriptor.java | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 03d60bd49bf..e89755b056a 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +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. diff --git a/libjava/java/beans/IndexedPropertyDescriptor.java b/libjava/java/beans/IndexedPropertyDescriptor.java index 965a9942cde..42c9a248d55 100644 --- a/libjava/java/beans/IndexedPropertyDescriptor.java +++ b/libjava/java/beans/IndexedPropertyDescriptor.java @@ -1,5 +1,5 @@ /* 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()); } |