what does [Ljava.lang.String; mean in 5.0jdk
"Dean Hiller" <[email protected]>
| Newsgroups | gmane.comp.jakarta.bcel.user |
|---|---|
| Message-ID | <[email protected]> |
I checked out source from bcel head, and compiled it. When I tried my stuff out on jdk5.0, the following code starts failing(when processing the ConstantPool)
case Constants.CONSTANT_Class:
int ind = ((ConstantClass)c).getNameIndex();
c = pool.getConstant(ind, Constants.CONSTANT_Utf8);
String className = Utility.compactClassName(((ConstantUtf8)c).getBytes(), false);
log(" className="+className, Project.MSG_VERBOSE);
design.checkClass(className);
Notice the className is [Ljava.lang.String; in my logs which is unusual as this works fine in 1.4 where the classNames are java.lang.String etc. How do I make it so I get the real className? instead of [Ljava.lang.String;
thanks,
dean