From a354ec2a77f83f57680c576758ddfa9234083b9e Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Tue, 31 Jul 2012 14:14:01 +0200 Subject: first stab at serialization of exprs and tags Instead of trying to serialize the entire universe and failing miserably (which happens now), exprs and type tags will now serialize their creators and deserialize into scala.reflect.basis. Since creators produced by reification are not serializable right now, serialization will crash. That's a small improvement over state of the art functionality-wise, but it's a step forward robustness-wise. Next step in this direction is generation of serialization code for creators. Related issues: SI-5919 and SI-5908. Also see the discussion at scala-internals http://groups.google.com/group/scala-internals/browse_thread/thread/ef63f8b5bd194c7c --- test/files/run/abstypetags_serialize.check | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 test/files/run/abstypetags_serialize.check (limited to 'test/files/run/abstypetags_serialize.check') diff --git a/test/files/run/abstypetags_serialize.check b/test/files/run/abstypetags_serialize.check new file mode 100644 index 0000000000..aafb4761ad --- /dev/null +++ b/test/files/run/abstypetags_serialize.check @@ -0,0 +1,2 @@ +java.io.NotSerializableException: Test$$typecreator1$1 +java.io.NotSerializableException: Test$$typecreator2$1 -- cgit v1.2.3