mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-10 10:28:37 +00:00
8061826: Part of JDK-8060474 should be reverted
Reviewed-by: mullan, ahgross
This commit is contained in:
parent
3b44ba662d
commit
2d97b4eecf
@ -58,7 +58,7 @@ public class KeyTabInputStream extends KrbDataInputStream implements KeyTabConst
|
||||
* Reads the number of bytes this entry data occupy.
|
||||
*/
|
||||
int readEntryLength() throws IOException {
|
||||
return readLength4();
|
||||
return read(4);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -82,7 +82,7 @@ public class KrbDataInputStream extends BufferedInputStream{
|
||||
byte[] bytes = new byte[num];
|
||||
if (read(bytes, 0, num) != num) {
|
||||
throw new IOException("Premature end of stream reached");
|
||||
};
|
||||
}
|
||||
int result = 0;
|
||||
for (int i = 0; i < num; i++) {
|
||||
if (bigEndian) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user