diff options
author | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-26 14:31:29 +0000 |
---|---|---|
committer | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-26 14:31:29 +0000 |
commit | 04562e6b1c585a68a8278bd83e3a521546efa117 (patch) | |
tree | 5adf7762dc6581c91705a6569ffe2b0e7aa990f5 /libjava/java/io | |
parent | 7938709957fc04becafae60bf202f5d21064c371 (diff) | |
download | gcc-04562e6b1c585a68a8278bd83e3a521546efa117.tar.gz |
2007-04-25 Andrew Haley <aph@redhat.com>
* java/io/ObjectStreamClass.java (ensureFieldsSet): New method.
(setFields): call ensureFieldsSet.
(fieldsSet): New field.
* java/io/ObjectOutputStream.java (writeFields): Call
osc.ensureFieldsSet().
* java/io/ObjectInputStream.java (parseContent): Assign the handle
for a PROXYCLASSDESC immediately after reading the marker.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124187 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/io')
-rw-r--r-- | libjava/java/io/ObjectStreamClass.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libjava/java/io/ObjectStreamClass.h b/libjava/java/io/ObjectStreamClass.h index 7638f7bed3a..34514534b8d 100644 --- a/libjava/java/io/ObjectStreamClass.h +++ b/libjava/java/io/ObjectStreamClass.h @@ -57,6 +57,9 @@ private: void cacheMethods(); ObjectStreamClass(::java::lang::Class *); void setFlags(::java::lang::Class *); +public: // actually package-private + virtual void ensureFieldsSet(::java::lang::Class *); +private: void setFields(::java::lang::Class *); jlong getClassUID(::java::lang::Class *); public: // actually package-private @@ -105,6 +108,7 @@ private: public: // actually package-private jboolean isProxyClass; private: + jboolean fieldsSet; static const jlong serialVersionUID = -6120832682080437368LL; public: static ::java::lang::Class class$; |