mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 12:02:20 +00:00
being more defensive, in seeing JENKINS-7809 and the following stack trace:
java.lang.NegativeArraySizeException at hudson.remoting.ProxyOutputStream$Chunk.<init>(ProxyOutputStream.java:175) at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:123) at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103)
This commit is contained in:
1 parent
63c356b190
commit
7b40e2e091
1 file changed
+1
-1
@@ -139,7 +139,7 @@ abstract class PipeWindow {
|
||||
if (available>0)
|
||||
return available;
|
||||
|
||||
while (available==0) {
|
||||
while (available<=0) {
|
||||
wait();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user