|
Findbugs finds an error on MockConnectionFactory :
_logger and _listener are both non-serializable/non-transient
There is an exception in core/build/src/main/resources/findbugs/findbugs-exclude.xml for this referenced by JIRA ID, please remove the exception in the commit with the fix.
From find bugs :
Non-transient non-serializable instance field in serializable class
This Serializable class defines a non-primitive instance field which is neither transient, Serializable, or java.lang.Object, and does not appear to implement the Externalizable interface or the readObject() and writeObject() methods. Objects of this class will not be deserialized correctly if a non-Serializable object is stored in this field.
Bug kind and pattern: Se - SE_BAD_FIELD
|