• Bug
  • Status: Closed
  • Resolution: Fixed
  • drb
  • Reporter: sourceforgetracker
  • September 21, 2009
  • 0
  • Watchers: 0
  • September 22, 2009
  • September 22, 2009

Description

See the following code in Element.java:

/**
 * Whether the element may be Serialized.
 * <p/>
 * While Element implements Serializable, it is possible to create non Serializable elements
 * for use in MemoryStores. This method checks that an instance of Element really is Serializable
 * and will not throw a NonSerializableException if Serialized.
 *
 * @return true if the element is Serializable
 * @since 1.2
 */
public final boolean isSerializable() {
    return key instanceof Serializable && value instanceof Serializable;
}

If value is null, then this method will return false, which will prevent the cache element from being replicated. Sourceforge Ticket ID: 2153609 - Opened By: nobody - 8 Oct 2008 18:21 UTC

Comments

Fiona OShea 2009-09-22

Re-opening so that I can properly close out these issues and have correct Resolution status in Jira