Modifier and Type | Class and Description |
---|---|
static class |
SerializationDebugger.ObjectStreamClassMethods
An implicit class that allows us to call private methods of ObjectStreamClass.
|
static class |
SerializationDebugger.ObjectStreamClassMethods$ |
Constructor and Description |
---|
SerializationDebugger() |
Modifier and Type | Method and Description |
---|---|
static boolean |
enableDebugging() |
static scala.collection.immutable.List<String> |
find(Object obj)
Find the path leading to a not serializable object.
|
static java.io.NotSerializableException |
improveException(Object obj,
java.io.NotSerializableException e)
Improve the given NotSerializableException with the serialization path leading from the given
object to the problematic object.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public static java.io.NotSerializableException improveException(Object obj, java.io.NotSerializableException e)
sun.io.serialization.extendedDebugInfo
flag is turned on for the JVM.public static scala.collection.immutable.List<String> find(Object obj)
It does not yet handle writeObject override, but that shouldn't be too hard to do either.
public static boolean enableDebugging()