diff options
Diffstat (limited to 'sources')
-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); |