diff options
author | paltherr <paltherr@epfl.ch> | 2003-10-06 07:01:10 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-10-06 07:01:10 +0000 |
commit | 4c20ac96504e908715dd4936e1239cb1c816ceb0 (patch) | |
tree | fd6ca8a1b1478ce11ca02837c0dc33056263ad23 | |
parent | 3338ca09b83ff8fc0b3bd3636d0746a80b2b6d3f (diff) | |
download | scala-4c20ac96504e908715dd4936e1239cb1c816ceb0.tar.gz scala-4c20ac96504e908715dd4936e1239cb1c816ceb0.tar.bz2 scala-4c20ac96504e908715dd4936e1239cb1c816ceb0.zip |
- Replaced name length test by Names.ROOT equal...
- Replaced name length test by Names.ROOT equality test
-rw-r--r-- | sources/scalac/symtab/classfile/UnPickle.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/symtab/classfile/UnPickle.java b/sources/scalac/symtab/classfile/UnPickle.java index 7274bfa448..d59d2bc192 100644 --- a/sources/scalac/symtab/classfile/UnPickle.java +++ b/sources/scalac/symtab/classfile/UnPickle.java @@ -174,7 +174,7 @@ public class UnPickle implements Kinds, Modifiers, EntryTags { assert bp < end; owner = readSymbolRef(); } - if (name.length() == 0 && owner == Symbol.NONE) { + if (name == Names.ROOT && owner == Symbol.NONE) { sym = Global.instance.definitions.ROOT_CLASS; } else { sym = owner.info().lookup(name); |