summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2004-10-04 10:13:08 +0000
committermihaylov <mihaylov@epfl.ch>2004-10-04 10:13:08 +0000
commit032410ce2f9fb745a126f1c9c53094e2d3772851 (patch)
treee26805c3491dd5e8affae4a8c8f824a8940f0432
parent1fbf1add8e2cbe172dfc2f62bdbc8ddb7b68a267 (diff)
downloadscala-032410ce2f9fb745a126f1c9c53094e2d3772851.tar.gz
scala-032410ce2f9fb745a126f1c9c53094e2d3772851.tar.bz2
scala-032410ce2f9fb745a126f1c9c53094e2d3772851.zip
[MSIL] Do not look for the System.Serializable ...
[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.
-rw-r--r--sources/scalac/symtab/Definitions.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/symtab/Definitions.java b/sources/scalac/symtab/Definitions.java
index 406fe1e5e9..9efd167e78 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");