[ 
https://issues.apache.org/jira/browse/BCEL-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maxim Degtyarev updated BCEL-180:
---------------------------------
    Description: 
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

  was:
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 add new public constructor to the 
org.apache.bcel.classfile.ConstantPool that allow loading ConstantPool from 
byte array representation.

GitHub pull request: https://github.com/apache/commons-bcel/pull/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
>
> 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)

Reply via email to