Skip to content

Commit

Permalink
[nomaster] bring back SerializeStart from fa3b804
Browse files Browse the repository at this point in the history
This is necessary to maintain binary compatibility with 2.10.0.
  • Loading branch information
adriaanm committed Feb 10, 2013
1 parent 5d487f1 commit 549a1fe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
20 changes: 10 additions & 10 deletions bincompat-backward.whitelist.conf
Expand Up @@ -11,16 +11,16 @@ filter {
matchName="scala.collection.immutable.Stream.scala$collection$immutable$Stream$$loop$5" matchName="scala.collection.immutable.Stream.scala$collection$immutable$Stream$$loop$5"
problemName=MissingMethodProblem problemName=MissingMethodProblem
}, },
{ # {
# private[scala] # # private[scala]
matchName="scala.collection.immutable.ListSerializeStart$" # matchName="scala.collection.immutable.ListSerializeStart$"
problemName=MissingClassProblem # problemName=MissingClassProblem
}, # },
{ # {
# private[scala] # # private[scala]
matchName="scala.collection.immutable.ListSerializeStart" # matchName="scala.collection.immutable.ListSerializeStart"
problemName=MissingClassProblem # problemName=MissingClassProblem
}, # },
{ {
# private nested class became private top-level class to fix SI-7018 # private nested class became private top-level class to fix SI-7018
matchName="scala.reflect.macros.Attachments$NonemptyAttachments" matchName="scala.reflect.macros.Attachments$NonemptyAttachments"
Expand Down
4 changes: 4 additions & 0 deletions src/library/scala/collection/immutable/List.scala
Expand Up @@ -642,6 +642,10 @@ object List extends SeqFactory[List] {
} }
} }


/** Only used for list serialization */
@SerialVersionUID(0L - 8287891243975527522L)
private[scala] case object ListSerializeStart

/** Only used for list serialization */ /** Only used for list serialization */
@SerialVersionUID(0L - 8476791151975527571L) @SerialVersionUID(0L - 8476791151975527571L)
private[scala] case object ListSerializeEnd private[scala] case object ListSerializeEnd
Expand Down

0 comments on commit 549a1fe

Please sign in to comment.