4 Replies Latest reply: Sep 13, 2011 3:02 PM by YoungWinston RSS

    Backward compatibility 1.6 -> 1.5

    887600
      Hello,

      Can a class serialized in 1.6 be properly deserialized in 1.5 ? serialVersionUID is implemented.
      I've only found this link: http://download.oracle.com/javase/6/docs/platform/serialization/spec/protocol.html#5849 but I'm not sure.

      More details:
      Class A, compiled with 1.6, running on 1.6 JVM, an instance of class A is serialized to file F.
      The same Class A (no modifications), compiled with 1.5, running on 1.5 JVM, attempting to deserialize that F file.
      Will this always work ?

      Edited by: 884597 on Sep 12, 2011 3:27 AM