natField.cc patch to use getType()
Mark Wielaard
mark@klomp.org
Thu Nov 7 07:44:00 GMT 2002
Hi,
The following patch always uses getType() to access the class of a
field. This makes sure that the Class is always resolved before being
used.
2002-11-07 Mark Wielaard <mark@klomp.org>
* java/lang/reflect/natField.cc (getBoolean): Use getType().
(getChar): Likewise.
(getByte): Likewise.
(getShort): Likewise.
(getInt): Likewise.
(getLong): Likewise.
(getFloat): Likewise.
(getDouble): Likewise.
(get): Likewise.
(setChar): Likewise.
(setByte): Likewise.
(setShort): Likewise.
(setInt): Likewise.
(setLong): Likewise.
(setFloat): Likewise.
(setDouble): Likewise.
OK to commit?
Cheers,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: natField.patch
Type: text/x-patch
Size: 5984 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20021107/e9dfccea/attachment.bin>
More information about the Java-patches
mailing list