This page is no longer maintained — Please continue to the home page at www.scala-lang.org

WrappedArray subclass SerialVersionUID?

No replies
belinda
Joined: 2011-09-16,
User offline. Last seen 42 years 45 weeks ago.
Hi everyone! Not sure if this is the right list to discuss, so please redirect me if necessary.
Just wondering if there is a reason that SerialVersionUID is not explicitly set for the subclasses of WrappedArray: ofRef, ofByte, ofShort, ofChar, etc.
I'm running into InvalidClassExceptions when deserializing an Enumeration that was serialized with a different version of scala-library:Caused by: java.io.InvalidClassException: scala.collection.mutable.WrappedArray$ofRef; local class incompatible: stream classdesc serialVersionUID = 6238838760334617323, local class serialVersionUID = 8184381945838716286
Potential patch attached.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland