8327225: Revert DataInputStream.readUTF to static final
Reviewed-by: rriggs, bpb, gli
This commit is contained in:
parent
a089ed2b92
commit
c653e67c0f
@ -571,7 +571,7 @@ loop: while (true) {
|
||||
* valid modified UTF-8 encoding of a Unicode string.
|
||||
* @see java.io.DataInputStream#readUnsignedShort()
|
||||
*/
|
||||
public static String readUTF(DataInput in) throws IOException {
|
||||
public static final String readUTF(DataInput in) throws IOException {
|
||||
int utflen = in.readUnsignedShort();
|
||||
byte[] bytearr;
|
||||
char[] chararr;
|
||||
|
Loading…
Reference in New Issue
Block a user