Permalink
Browse files

[nomaster] bring back SerializeStart from fa3b804

This is necessary to maintain binary compatibility with 2.10.0.
  • Loading branch information...
1 parent 5d487f1 commit 549a1fea9366af0c0a4697bc39e3a75bd8f066f5 @adriaanm adriaanm committed Feb 9, 2013
Showing with 14 additions and 10 deletions.
  1. +10 −10 bincompat-backward.whitelist.conf
  2. +4 −0 src/library/scala/collection/immutable/List.scala
@@ -11,16 +11,16 @@ filter {
matchName="scala.collection.immutable.Stream.scala$collection$immutable$Stream$$loop$5"
problemName=MissingMethodProblem
},
- {
- # private[scala]
- matchName="scala.collection.immutable.ListSerializeStart$"
- problemName=MissingClassProblem
- },
- {
- # private[scala]
- matchName="scala.collection.immutable.ListSerializeStart"
- problemName=MissingClassProblem
- },
+ # {
+ # # private[scala]
+ # matchName="scala.collection.immutable.ListSerializeStart$"
+ # problemName=MissingClassProblem
+ # },
+ # {
+ # # private[scala]
+ # matchName="scala.collection.immutable.ListSerializeStart"
+ # problemName=MissingClassProblem
+ # },
{
# private nested class became private top-level class to fix SI-7018
matchName="scala.reflect.macros.Attachments$NonemptyAttachments"
@@ -643,6 +643,10 @@ object List extends SeqFactory[List] {
}
/** Only used for list serialization */
+@SerialVersionUID(0L - 8287891243975527522L)
+private[scala] case object ListSerializeStart
+
+/** Only used for list serialization */
@SerialVersionUID(0L - 8476791151975527571L)
private[scala] case object ListSerializeEnd

0 comments on commit 549a1fe

Please sign in to comment.