Hi all,
I'm new here but very interested in this project. After having a look
at the source code, I have a question upon the class VectorWriter in
the org.apache.log4j.spi.ThrowableInformation. This implementation of
PrintWriter fully disobeyed the JDK spec. For example, the spec of
println(String) says "Print a String and then terminate the line. This
method behaves as though it invokes print(String) and then
println().".
The problem is, if we have another implementation of
Throwable.printStaceTrace(PrintWriter) which use print(msg) then
print("\n") instead of println(msg), it will fail.

I wonder is there another way to record the throwable information
instead of depending on the implementation detail of
Throwable.printStackTrace(PrintWriter)?

Thank you very much.
--
Tony Wu
China Software Development Lab, IBM

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to