You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Markus Uhr (JIRA)" <ji...@apache.org> on 2015/04/07 10:22:12 UTC
[jira] [Created] (BCEL-216) Allow creation of class object
constants
Markus Uhr created BCEL-216:
-------------------------------
Summary: Allow creation of class object constants
Key: BCEL-216
URL: https://issues.apache.org/jira/browse/BCEL-216
Project: Commons BCEL
Issue Type: Bug
Components: Main
Affects Versions: unspecified
Reporter: Markus Uhr
Priority: Minor
Accessing class objects (e.g. String.class) gets BCELified as
new PUSH(_cp, new ObjectType("java.lang.String"))
which works fine. Trying to create such a constant using Factory.createConstant throws a ClassGenException, however:
_factory.createConstant(new ObjectType("java.lang.String"))
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)