Commit a0879984 authored by mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f
Browse files

Guard against uninitialized message in a java.lang.Throwable passed to StreamError.

Found while diagnosing problems with Hunchentoot with keep-alive
connections (private email).

Probably should be applied to all constructors derived from LispError
as they would all
parent 210dff79
......@@ -105,7 +105,8 @@ public class StreamError extends LispError
setStream(stream != null ? stream : NIL);
String message = cause.getMessage();
setFormatControl(message != null ? message : cause.toString());
this.cause = cause;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment