ObjectOutputStream.java (currentObjectStreamClass): Now package-private.

* java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
	package-private.
	(setBlockDataMode): Likewise.

From-SVN: r90198
This commit is contained in:
Tom Tromey 2004-11-06 22:56:38 +00:00 committed by Tom Tromey
parent 58368ea708
commit 7771b8da33
2 changed files with 10 additions and 2 deletions

View File

@ -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

View File

@ -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;