diff options
Diffstat (limited to 'test/files/jvm/t1600.scala')
-rw-r--r-- | test/files/jvm/t1600.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/files/jvm/t1600.scala b/test/files/jvm/t1600.scala index 7e23687425..69179c1ba4 100644 --- a/test/files/jvm/t1600.scala +++ b/test/files/jvm/t1600.scala @@ -69,8 +69,7 @@ object Test { var hashCodeModifier = 0 } - @serializable - class Foo { + class Foo extends Serializable { override def hashCode = System.identityHashCode(this) + Foo.hashCodeModifier } } |