mauve-libgcj: Activated serialization tests.
* mauve-libgcj: Activated serialization tests. * gcj/field.h (getModifiers): Mask off unknown flags. * gnu/java/security/provider/SHA.java (munch): Reset buffer to 0 so spurious bits don't cause discrepancies. * java/io/ObjectOutputStream.java: Fixed typo in comment. * java/io/ObjectStreamClass.java: Fixed typos in comments. (lookup): Applied patch from Brian Jones <cbj@gnu.org> to optimize. (hasClassInitializer): Call getDeclaredMethod instead of getMethod. * java/lang/Throwable.java (serialVersionUID): New field. * java/lang/reflect/Modifier.java (ALL_FLAGS): Preserve STRICT if used. * java/lang/reflect/natConstructor.cc (getModifiers): Mask off unknown flags. * java/lang/reflect/natMethod.cc: Ditto. * java/security/Key.java (serialVersionUID): Removed field for now. * java/security/interfaces/DSAPrivateKey.java (serialVersionUID): Ditto. * java/security/interfaces/DSAPublicKey.java (serialVersionUID): Ditto. Serialization mods. From-SVN: r35302
This commit is contained in:
parent
b2244c65f5
commit
7db51521a0
13 changed files with 50 additions and 20 deletions
|
@ -54,7 +54,7 @@ import gnu.java.lang.reflect.TypeSignature;
|
|||
|
||||
Using default serialization, information about the class of an
|
||||
object is written, all of the non-transient, non-static fields of
|
||||
the object are written, if any of these fields are objects, the are
|
||||
the object are written, if any of these fields are objects, they are
|
||||
written out in the same manner.
|
||||
|
||||
An object is only written out the first time it is encountered. If
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue