Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.
/ jdk19u Public archive

Commit

Permalink
8292487: Back out the fix forJDK-8281962 from jdk19u
Browse files Browse the repository at this point in the history
Reviewed-by: alanb, simonis
  • Loading branch information
Lance Andersen committed Aug 19, 2022
1 parent 5c9ba00 commit 030ff3a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,15 @@ public int read(byte[] b, int off, int len) throws IOException {
}
try {
int n;
do {
while ((n = inf.inflate(b, off, len)) == 0) {
if (inf.finished() || inf.needsDictionary()) {
reachEOF = true;
return -1;
}
if (inf.needsInput()) {
fill();
}
} while ((n = inf.inflate(b, off, len)) == 0);
}
return n;
} catch (DataFormatException e) {
String s = e.getMessage();
Expand Down

1 comment on commit 030ff3a

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.