diff options
author | paltherr <paltherr@epfl.ch> | 2004-03-13 17:39:57 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-03-13 17:39:57 +0000 |
commit | 417033fd0a33af000b95623f1c3d0f9e90fbf6ff (patch) | |
tree | 429018088aa48df0f06f5bbe875277dab60ac790 /sources/scalac/symtab/classfile/ConstantPool.java | |
parent | f893e29c2f7a6fb00210d76933ac94e86d924aa6 (diff) | |
download | scala-417033fd0a33af000b95623f1c3d0f9e90fbf6ff.tar.gz scala-417033fd0a33af000b95623f1c3d0f9e90fbf6ff.tar.bz2 scala-417033fd0a33af000b95623f1c3d0f9e90fbf6ff.zip |
- Replaced byte array in Name by a string
Diffstat (limited to 'sources/scalac/symtab/classfile/ConstantPool.java')
-rw-r--r-- | sources/scalac/symtab/classfile/ConstantPool.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/symtab/classfile/ConstantPool.java b/sources/scalac/symtab/classfile/ConstantPool.java index 6cd21b32c6..8d80446342 100644 --- a/sources/scalac/symtab/classfile/ConstantPool.java +++ b/sources/scalac/symtab/classfile/ConstantPool.java @@ -79,7 +79,7 @@ public class ConstantPool implements ClassfileConstants { */ protected Object classOrType(Name name) { if ((name.charAt(0) == '[') || (name.charAt(name.length() - 1) == ';')) { - byte[] ascii = name.toAscii(); + byte[] ascii = SourceRepresentation.string2ascii(name.toString()); return sigparser.sigToType(ascii, 0, ascii.length); } else return name; |