commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BCEL-180) Enable loading ConstantPool from a byte array
Date Mon, 28 Nov 2016 00:03:58 GMT

    [ https://issues.apache.org/jira/browse/BCEL-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15700536#comment-15700536
] 

Gary Gregory commented on BCEL-180:
-----------------------------------

In BCEL 6.0. the following constructors are public:

- org.apache.bcel.classfile.ConstantPool.ConstantPool(Constant[])
- org.apache.bcel.classfile.ConstantPool.ConstantPool(DataInput)

This closes GitHub PR  #1.

> Enable loading ConstantPool from a byte array
> ---------------------------------------------
>
>                 Key: BCEL-180
>                 URL: https://issues.apache.org/jira/browse/BCEL-180
>             Project: Commons BCEL
>          Issue Type: Improvement
>            Reporter: Maxim Degtyarev
>             Fix For: 6.0
>
>
> In some cases such as JDI API we have the class constant pool content only in form of
separate byte array. Currently there is no way to load constant pool from byte array.
> The proposed patch enable  loading ConstantPool from custom DataInput stream by making
ConstantPool(DataInput) constructor  public.
> GitHub pull request: https://github.com/apache/commons-bcel/pull/1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message