We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd0b945 commit e27ea4dCopy full SHA for e27ea4d
src/java.base/share/classes/java/io/DataOutputStream.java
@@ -50,6 +50,8 @@ public class DataOutputStream extends FilterOutputStream implements DataOutput {
50
*/
51
private byte[] bytearr = null;
52
53
+ private final byte[] writeBuffer = new byte[8];
54
+
55
/**
56
* Creates a new data output stream to write data to the specified
57
* underlying output stream. The counter {@code written} is
@@ -207,8 +209,6 @@ public final void writeInt(int v) throws IOException {
207
209
incCount(4);
208
210
}
211
- private byte writeBuffer[] = new byte[8];
-
212
213
* Writes a {@code long} to the underlying output stream as eight
214
* bytes, high byte first. In no exception is thrown, the counter
0 commit comments