The constructor for org.apache.bcel.generic.ObjectType is defined as:

  /**
   * @param class_name fully qualified class name, e.g. java.lang.String
   */ 
  public ObjectType(String class_name) {
    super(Constants.T_REFERENCE, "L" + class_name.replace('.', '/') + ";");
    this.class_name = class_name.replace('/', '.');
  }

What is the meaning of the second line of code?  It looks
useless, because '/' is not a legal character in a class name.
Or am I missing something?

-Dave

--
To unsubscribe, e-mail:   <mailto:bcel-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:bcel-user-help@;jakarta.apache.org>

Reply via email to