From e1eb91714d2129ea460e8c4da4ff65074acb736a Mon Sep 17 00:00:00 2001 From: Hubert Plociniczak Date: Wed, 29 Sep 2010 09:47:54 +0000 Subject: Revert changes related to #1591. no review. --- test/files/jvm/serialization.scala | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'test/files/jvm') diff --git a/test/files/jvm/serialization.scala b/test/files/jvm/serialization.scala index b8656888c6..06086f4038 100644 --- a/test/files/jvm/serialization.scala +++ b/test/files/jvm/serialization.scala @@ -531,31 +531,6 @@ object Test6 { } } -//############################################################################ -// Nested objects cannot get readresolve automatically because after deserialization -// they would be null (they are treated as lazy vals) -@serializable -class Outer { - - @serializable - object Inner -} - -object Test7 { - val x = new Outer - x.Inner // initialize - try { - val y:Outer = read(write(x)) - if (y.Inner == null) - println("Inner object is null") - } - catch { - case e: Exception => - println("Error in Test7: " + e) - } - -} - //############################################################################ // Test code @@ -567,7 +542,6 @@ object Test { Test4_xml Test5 Test6 - Test7 } } -- cgit v1.2.3