mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
fixed a ClassCastException reported in http://www.nabble.com/Re%3A-poll-SCM-doesn%27t-work-p10168656.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3256 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
7c118f7f80
commit
4eb6519695
1 file changed
+1
-1
@@ -55,7 +55,7 @@ public final class StreamTaskListener implements TaskListener, Serializable {
|
||||
}
|
||||
|
||||
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
|
||||
out = (PrintStream) in.readObject();
|
||||
out = new PrintStream((OutputStream)in.readObject(),true);
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
Reference in new issue
Block a user