mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-13 13:25:14 +08:00
ObjectOutputStream.java (currentObjectStreamClass): Now package-private.
* java/io/ObjectOutputStream.java (currentObjectStreamClass): Now package-private. (setBlockDataMode): Likewise. From-SVN: r90198
This commit is contained in:
parent
58368ea708
commit
7771b8da33
@ -1,3 +1,9 @@
|
||||
2004-11-06 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
|
||||
package-private.
|
||||
(setBlockDataMode): Likewise.
|
||||
|
||||
2004-11-06 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
|
||||
|
@ -1239,7 +1239,8 @@ public class ObjectOutputStream extends OutputStream
|
||||
|
||||
|
||||
// Toggles writing primitive data to block-data buffer.
|
||||
private boolean setBlockDataMode(boolean on) throws IOException
|
||||
// Package-private to avoid a trampoline constructor.
|
||||
boolean setBlockDataMode(boolean on) throws IOException
|
||||
{
|
||||
if (on == writeDataAsBlocks)
|
||||
return on;
|
||||
@ -1563,7 +1564,8 @@ public class ObjectOutputStream extends OutputStream
|
||||
private byte[] blockData;
|
||||
private int blockDataCount;
|
||||
private Object currentObject;
|
||||
private ObjectStreamClass currentObjectStreamClass;
|
||||
// Package-private to avoid a trampoline.
|
||||
ObjectStreamClass currentObjectStreamClass;
|
||||
private PutField currentPutField;
|
||||
private boolean fieldsAlreadyWritten;
|
||||
private boolean replacementEnabled;
|
||||
|
Loading…
Reference in New Issue
Block a user