Imported GNU Classpath 0.20
Imported GNU Classpath 0.20 * Makefile.am (AM_CPPFLAGS): Add classpath/include. * java/nio/charset/spi/CharsetProvider.java: New override file. * java/security/Security.java: Likewise. * sources.am: Regenerated. * Makefile.in: Likewise. From-SVN: r109831
This commit is contained in:
parent
bcb36c3e02
commit
2127637945
444 changed files with 75778 additions and 30731 deletions
|
@ -442,6 +442,11 @@ public class ObjectOutputStream extends OutputStream
|
|||
realOutput.writeByte(flags);
|
||||
|
||||
ObjectStreamField[] fields = osc.fields;
|
||||
|
||||
if (fields == ObjectStreamClass.INVALID_FIELDS)
|
||||
throw new InvalidClassException
|
||||
(osc.getName(), "serialPersistentFields is invalid");
|
||||
|
||||
realOutput.writeShort(fields.length);
|
||||
|
||||
ObjectStreamField field;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue