diff options
author | mihaylov <mihaylov@epfl.ch> | 2004-10-04 10:13:08 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2004-10-04 10:13:08 +0000 |
commit | 032410ce2f9fb745a126f1c9c53094e2d3772851 (patch) | |
tree | e26805c3491dd5e8affae4a8c8f824a8940f0432 | |
parent | 1fbf1add8e2cbe172dfc2f62bdbc8ddb7b68a267 (diff) | |
download | scala-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.java | 2 |
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"); |