Note that there are some explanatory texts on larger screens.

plurals
  1. USConcrete Gannet
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COYour own serializable class does *not* require a noarg constructor. See the description of the behaviour of readObject() at http://docs.oracle.com/javase/7/docs/api/java/io/ObjectInputStream.html . "Reading an object is *analogous* to running the constructors of a new object. Memory is allocated for the object and initialized to zero (NULL)...". readObject is about to deserialize data into the fields of the object, so it would be wasteful to execute any constructor that would set an incorrect value into those fields. Just zeroing out the memory makes sense.
      singulars
    2. COEJP, that is not correct, and Steve Kuo is. See http://docs.oracle.com/javase/7/docs/platform/serialization/spec/serial-arch.html#4539 . Your serializable class *must* "Have access to the no-arg constructor of its first nonserializable superclass". In other words, if you look up the inheritance tree towards Object, the first non-serializable class you see must have a non-private noarg constructor. More to come...
      singulars
    3. COPossible duplicate of http://stackoverflow.com/questions/19810145/web-config-error-unrecognized-attribute-xmlnsxdt-note-that-attribute-names
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload