Skip to content

Commit

Permalink
DO NOT ignore synthetic fields always
Browse files Browse the repository at this point in the history
  • Loading branch information
tsdeng committed Sep 25, 2013
1 parent 342484a commit 54e7ded
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions chill-scala/src/main/scala/com/twitter/chill/KryoBase.scala
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ class KryoBase extends Kryo {
super.newDefaultSerializer(klass) match {
case fs: FieldSerializer[_] =>
//Scala has a lot of synthetic fields that must be serialized:
if(classOf[scala.Serializable].isAssignableFrom(klass)) {
fs.setIgnoreSyntheticFields(false)
}
fs.setIgnoreSyntheticFields(false)
/**
* This breaks scalding, but something like this should be used when
* working with the repl.
Expand Down

0 comments on commit 54e7ded

Please sign in to comment.