diff options
author | michelou <michelou@epfl.ch> | 2004-09-24 16:36:16 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2004-09-24 16:36:16 +0000 |
commit | c66e04d863bfc7e5268252c3b55f704a73a12024 (patch) | |
tree | 04fd3dd0d416cd71aac22cb04f7471f67d350937 | |
parent | 4c98fce60278f602e00ccd14dd017d93aef875b5 (diff) | |
download | scala-c66e04d863bfc7e5268252c3b55f704a73a12024.tar.gz scala-c66e04d863bfc7e5268252c3b55f704a73a12024.tar.bz2 scala-c66e04d863bfc7e5268252c3b55f704a73a12024.zip |
- added symbol/type for class java.io.Serializa...
- added symbol/type for class java.io.Serializable.
-rw-r--r-- | sources/scalac/symtab/Definitions.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sources/scalac/symtab/Definitions.java b/sources/scalac/symtab/Definitions.java index 5e33e39140..406fe1e5e9 100644 --- a/sources/scalac/symtab/Definitions.java +++ b/sources/scalac/symtab/Definitions.java @@ -1,6 +1,6 @@ /* ____ ____ ____ ____ ______ *\ ** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala ** -** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL ** +** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002-2004, LAMP/EPFL ** ** /_____/\____/\___/\____/____/ ** ** ** ** $Id$ @@ -77,6 +77,10 @@ public class Definitions { public final Symbol THROWABLE_CLASS; public final Type THROWABLE_TYPE() {return THROWABLE_CLASS.staticType();} + /** The java.io.Serializable class */ + public final Symbol SERIALIZABLE_CLASS; + public final Type SERIALIZABLE_TYPE() {return SERIALIZABLE_CLASS.staticType();} + //######################################################################## // Public Fields & Methods - Scala value classes @@ -652,6 +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"); // the scala value classes UNIT_CLASS = getClass("scala.Unit"); |