--- a/jdk/src/share/classes/sun/net/www/http/KeepAliveStream.java Thu Dec 20 13:44:06 2012 +0000
+++ b/jdk/src/share/classes/sun/net/www/http/KeepAliveStream.java Thu Dec 20 15:04:53 2012 +0000
@@ -83,7 +83,7 @@
if (expected > count) {
long nskip = expected - count;
if (nskip <= available()) {
- do {} while ((nskip = (long) (expected - count)) > 0L
+ do {} while ((nskip = (expected - count)) > 0L
&& skip(Math.min(nskip, available())) > 0L);
} else if (expected <= KeepAliveStreamCleaner.MAX_DATA_REMAINING && !hurried) {
//put this KeepAliveStream on the queue so that the data remaining