- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
WrappedArray subclass SerialVersionUID?
Fri, 2011-09-16, 07:49
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.
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.