OSDN Git Service

* java/lang/reflect/natField.cc (setAddr): New function.
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Jan 2002 19:42:18 +0000 (19:42 +0000)
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Jan 2002 19:42:18 +0000 (19:42 +0000)
commit858cd0eb18973033f5e76803567a62285e035116
tree6ba6fba52107bfd6271e31bfcd9a63f10ba28498
parentb1a495604b135049dffc8d38cf03a0e8c279ab5b
* java/lang/reflect/natField.cc (setAddr):  New function.
Calls getAddr and then checks that the field isn't final.
(setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
setDouble, set):  Use setAddr instead of getAddr, to check for FINAL.
(set):  Call setAddr before check that new value has right type,
to better match specified semantics.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49153 138bc75d-0d04-0410-961f-82ee72b054a4
libjava/ChangeLog
libjava/java/lang/reflect/natField.cc