mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8327225: Revert DataInputStream.readUTF to static final
Reviewed-by: rriggs, bpb, gli
This commit is contained in:
parent
a089ed2b92
commit
c653e67c0f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue