Skip to content
Permalink
Browse files
Revert "[JENKINS-20769] Trying to fix/suppress some related observed …
…or actual NPEs."

This reverts commit eb3a4c3.

Reverting this commit to unmask the problem.
  • Loading branch information
kohsuke committed Mar 27, 2014
1 parent e04ac6c commit ec1a7c8e982d6cad5cbdd3d4b9ca3c06404f037c
Showing with 0 additions and 9 deletions.
  1. +0 −3 src/main/java/hudson/remoting/ProxyInputStream.java
  2. +0 −6 src/main/java/hudson/remoting/ProxyOutputStream.java
@@ -149,9 +149,6 @@ public EOF(int oid) {

protected void execute(Channel channel) {
InputStream in = (InputStream) channel.getExportedObject(oid);
if (in == null) {
return;
}
channel.unexport(oid);
try {
in.close();
@@ -312,9 +312,6 @@ public Flush(int ioId, int oid) {

protected void execute(Channel channel) {
final OutputStream os = (OutputStream) channel.getExportedObject(oid);
if (os == null) {
return;
}
markForIoSync(channel,requestId,channel.pipeWriter.submit(ioId,new Runnable() {
public void run() {
try {
@@ -381,9 +378,6 @@ public EOF(int ioId, int oid, Throwable error) {

protected void execute(final Channel channel) {
final OutputStream os = (OutputStream) channel.getExportedObject(oid);
if (os == null) {
return;
}
markForIoSync(channel,requestId,channel.pipeWriter.submit(ioId,new Runnable() {
public void run() {
channel.unexport(oid);

0 comments on commit ec1a7c8

Please sign in to comment.