From 0d07869c0a99380408f23c93da3a1d97dab0e5cc Mon Sep 17 00:00:00 2001 From: mihaylov Date: Mon, 4 Oct 2004 10:13:08 +0000 Subject: [PATCH] [MSIL] Do not look for the System.Serializable interface. There's no such thing under on .NET. This should be solved platform-independently using attributes. git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@3672 5e8d7ff9-d8ef-0310-90f0-a4852d11357a --- sources/scalac/symtab/Definitions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/scalac/symtab/Definitions.java b/sources/scalac/symtab/Definitions.java index 406fe1e5e..9efd167e7 100644 --- a/sources/scalac/symtab/Definitions.java +++ b/sources/scalac/symtab/Definitions.java @@ -656,7 +656,7 @@ public class Definitions { STRING_CLASS = getClass(forMSIL ? "System.String" : "java.lang.String"); THROWABLE_CLASS = getClass(forMSIL ? "System.Exception" : "java.lang.Throwable"); - SERIALIZABLE_CLASS = getClass(forMSIL ? "System.Serializable" : "java.io.Serializable"); + SERIALIZABLE_CLASS = getClass("java.io.Serializable"); // the scala value classes UNIT_CLASS = getClass("scala.Unit");