diff options
author | Bryce McKinlay <mckinlay@redhat.com> | 2004-07-23 21:46:09 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2004-07-23 22:46:09 +0100 |
commit | ae066484dfc4edafddbcf5089720d8ceef28c232 (patch) | |
tree | 01764308a3b2de375dfb7a5cbdc207490adea0e1 /libjava/java | |
parent | 30678c3e48d4df52e33e57bfe3da0338fcbb8ed9 (diff) | |
download | gcc-ae066484dfc4edafddbcf5089720d8ceef28c232.zip gcc-ae066484dfc4edafddbcf5089720d8ceef28c232.tar.gz gcc-ae066484dfc4edafddbcf5089720d8ceef28c232.tar.bz2 |
ObjectStreamField (ObjectStreamField): Don't unset 'toset' for final fields.
2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
* java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
for final fields.
* testsuite/libjava.lang/Serialization.java: New test.
* testsuite/libjava.lang/Serialization.out: New.
From-SVN: r85096
Diffstat (limited to 'libjava/java')
-rw-r--r-- | libjava/java/io/ObjectStreamField.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libjava/java/io/ObjectStreamField.java b/libjava/java/io/ObjectStreamField.java index 830a349..ab7c934 100644 --- a/libjava/java/io/ObjectStreamField.java +++ b/libjava/java/io/ObjectStreamField.java @@ -65,7 +65,6 @@ public class ObjectStreamField implements Comparable { this (field.getName(), field.getType()); this.field = field; - toset = !Modifier.isFinal(field.getModifiers()); } /** |