diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2016-09-30 15:38:30 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2016-09-30 22:27:53 +0200 |
commit | 759b0daaf448f08f3233ee5fdaa3bc29f0732dfc (patch) | |
tree | 1b49e0eae6ac6a5003932988732bfa321bc39f4c /test/files/pos/t6942.flags | |
parent | 924634899003ceca8fcf132cc09047aa2b37e933 (diff) | |
download | scala-759b0daaf448f08f3233ee5fdaa3bc29f0732dfc.tar.gz scala-759b0daaf448f08f3233ee5fdaa3bc29f0732dfc.tar.bz2 scala-759b0daaf448f08f3233ee5fdaa3bc29f0732dfc.zip |
Explicit SerialVersionUID for all ClassTags / Manifests
Looking at the class hierarchy around ClassTag and Manifest, the only
class that had a serialVersionUID is AnyValManifest, where the hierarchy
is something like:
trait ClassTag // extends Serializable
|- class GenericClassTag
|- trait Manifest
|- class ClassTypeManifest
|- class SingletonTypeManifest
|- ...
|- abstract class AnyValManifest // has SerialVersionUID
|- class DoubleManifest
|- ...
Note that AnyValManifest is an abstract class, so the SerialVersionUID
annotation does not help there.
This commit adds explicit SerialVersionUID annotations to (hopefully)
all subclasses of ClassTag, to make sure they are stable under
compatible changes (such as changing -Xmixin-force-forwarders).
Diffstat (limited to 'test/files/pos/t6942.flags')
0 files changed, 0 insertions, 0 deletions