You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sagar Tewari (JIRA)" <ji...@apache.org> on 2018/08/19 14:28:00 UTC
[jira] [Created] (BCEL-306) Why is this string.replace line needed
in generic.ObjectType constructor?
Sagar Tewari created BCEL-306:
---------------------------------
Summary: Why is this string.replace line needed in generic.ObjectType constructor?
Key: BCEL-306
URL: https://issues.apache.org/jira/browse/BCEL-306
Project: Commons BCEL
Issue Type: Bug
Components: Main
Affects Versions: 6.2, 6.1, 6.0, 5.2, 5.1, 5.0
Reporter: Sagar Tewari
Why is this line present in the ObjectType constructor:
[https://github.com/apache/commons-bcel/blob/5e2febea94ae56db7fd0729e808625f7be1f6a32/src/main/java/org/apache/bcel/generic/ObjectType.java#L45]
The javadoc states that this constructor expects a fully qualified name(which do not contain '/'s). Is it some legacy stuff which is no longer needed since all the tests pass if I replace this line with this one:
this.class_name = class_name;
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)