Author: ggregory
Date: Mon Nov 27 18:56:00 2017
New Revision: 1816490
URL: http://svn.apache.org/viewvc?rev=1816490&view=rev
Log:
[BCEL-301] org.apache.bcel.classfile.ClassFormatException: Invalid byte tag in
constant pool: 20.
Modified:
commons/proper/bcel/trunk/src/changes/changes.xml
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Constant.java
Modified: commons/proper/bcel/trunk/src/changes/changes.xml
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/changes/changes.xml?rev=1816490&r1=1816489&r2=1816490&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/changes/changes.xml [utf-8] (original)
+++ commons/proper/bcel/trunk/src/changes/changes.xml [utf-8] Mon Nov 27
18:56:00 2017
@@ -67,6 +67,7 @@ The <action> type attribute can be add,u
<action issue="BCEL-296" type="fix" dev="ggregory" due-to="Mark
Roberts">Incorrect comment in several classes.</action>
<action issue="BCEL-295" type="fix" dev="ggregory" due-to="Mark
Roberts">Fix local variable live range length; add test case.</action>
<action issue="BCEL-300" type="fix" dev="ggregory" due-to="Mark
Roberts">org.apache.bcel.classfile.ClassFormatException: Invalid byte tag in
constant pool: 19.</action>
+ <action issue="BCEL-301" type="fix" dev="ggregory" due-to="Mark
Roberts">org.apache.bcel.classfile.ClassFormatException: Invalid byte tag in
constant pool: 20.</action>
</release>
<release version="6.1" date="2017-09-14" description="Experimental Java 9
Support">
Modified:
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Constant.java
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Constant.java?rev=1816490&r1=1816489&r2=1816490&view=diff
==============================================================================
---
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Constant.java
(original)
+++
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Constant.java
Mon Nov 27 18:56:00 2017
@@ -165,6 +165,8 @@ public abstract class Constant implement
return new ConstantInvokeDynamic(input);
case Const.CONSTANT_Module:
return new ConstantModule(input);
+ case Const.CONSTANT_Package:
+ return new ConstantPackage(input);
default:
throw new ClassFormatException("Invalid byte tag in constant
pool: " + b);
}