Name: bsC130419 Date: 07/12/2001
1.4beta documentation
The class description for java.util.logging.LogRecord says that exception
stack trace information is not preserved across serialization, even though
such information is preserved.
The LogRecord class description says:
...the Throwable class does not preserve stack frame information
across serialization...
(See http://java.sun.com/j2se/1.4/docs/api/java/util/logging/LogRecord.html
as of 2001-07-12.)
However, stack trace information is serialized in 1.4. The class
description for Throwable (see
http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html as
of 2001-07-12) says:
...the stack trace information...has been added to the serialized
representation of this class so getStackTrace and printStackTrace
will operate properly on a throwable that was obtained by
deserialization.
(Review ID: 127998)
======================================================================
- duplicates
-
JDK-4451686 logging: LogRecord should not special-case stack trace serialization
-
- Closed
-