Author Topic: Java 10 Serialization  (Read 2802 times)

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
Java 10 Serialization
« on: April 25, 2018, 08:42:07 pm »
I think that you have to update the serialization stuff for Java 10. Would you?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Java 10 Serialization
« Reply #1 on: April 25, 2018, 11:02:56 pm »
Why? What's different? And what kind of serialization actually? Normal Java based one or jPCT's own serialized object stuff?
« Last Edit: April 25, 2018, 11:08:37 pm by EgonOlsen »

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
Re: Java 10 Serialization
« Reply #2 on: April 26, 2018, 04:12:04 am »
My program was running an old jpct whereas the model had been serialized by the latest version. I thought that it was related to the Java algorithm changing. It works now, but are you using your own format? I thought you used Java's.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Java 10 Serialization
« Reply #3 on: April 26, 2018, 09:36:45 am »
Serialized objects are my own binary format optimized for usage on Android. Also, I don't think that Java10 breaks anything regarding the normal object serialization, because that would be utterly stupid of them.