[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
This commit is contained in:
mihaylov 2004-10-04 10:13:08 +00:00
parent 1b65fddf3c
commit 0d07869c0a
1 changed files with 1 additions and 1 deletions

View File

@ -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");