Apache Commons BCEL Release Notes
Release History
Version |
Date |
Description |
6.10.0 |
2024-07-13 |
Maintenance and bug fix release. Requires a minimum of Java 8. |
6.9.0 |
2024-04-21 |
Maintenance and bug fix release. |
6.8.2 |
2024-02-21 |
Maintenance and bug fix release. |
6.8.1 |
2024-01-07 |
Maintenance and bug fix release. |
6.8.0 |
2023-12-03 |
Maintenance and bug fix release. |
6.7.0 |
2022-11-28 |
Maintenance and bug fix release. |
6.6.1 |
2022-10-29 |
Maintenance and bug fix release. |
6.6.0 |
2022-10-08 |
Minor feature and bug fix release. |
6.5.0 |
2020-06-05 |
Minor feature and bug fix release. |
6.4.1 |
2019-09-26 |
Bug fix release. |
6.4.0 |
2019-09-20 |
Feature and bug fix release. |
6.3.1 |
2019-03-20 |
Bug fix release |
6.3 |
2019-01-23 |
Experimental Java 9, 10, 11, 12-EA, and 13-EA Support |
6.2 |
2017-12-08 |
Experimental Java 9 Support |
6.1 |
2017-09-14 |
Experimental Java 9 Support |
6.0 |
2016-07-10 |
Apache Commons BCEL 6.0 is a major release supporting the new features introduced in Java 6, 7 and 8. It requires Java 7 or higher to run. COMPATIBILITY with 5.2 ====================== Binary compatible - not strictly compatible - The constant interface org.apache.bcel.Constants has been deprecated. Classes which implemented this interface in 5.2 now use the constants defined in the org.apache.bcel.Const class. - The constant interface org.apache.bcel.generic.InstructionConstants has been deprecated. Classes which implemented this interface in 5.2 now use the constants defined in the org.apache.bcel.generic.InstructionConsts class. - Return type of method 'public java.lang.Object getElementAt(int)' in org.apache.bcel.verifier.VerifierFactoryListModel has been changed to java.lang.String. - The BCEL classes do no longer implement java.io.Serializable. Source compatible - Yes, sort of; - The org.apache.bcel.classfile.Visitor interface has been enhanced with additional methods. If you implemented it directly instead of extending the EmptyVisitor class you'll have to implement the new methods. - The org.apache.bcel.generic.Visitor interface has been enhanced with an additional method. If you implemented it directly instead of extending the EmptyVisitor class you'll have to implement the new methods. Semantic compatible - Yes, except: - BCEL 6.0 handles new attributes such as code annotations that could only be processed by implementing a custom AttributeReader in the previous versions. Code relying on this behavior will have to be adjusted since the AttributeReader will no longer be called in these cases. For full information about API changes please see the extended Clirr report: https://commons.apache.org/bcel/clirr-report.html |
Release 6.10.0 – 2024-07-13
Type |
Changes |
By |
|
Fix PMD UnnecessaryFullyQualifiedName. Thanks to Gary Gregory. |
ggregory |
|
Fix PMD EmptyCatchBlock by allowing commented blocks. Thanks to Gary Gregory. |
ggregory |
|
Fix PMD EmptyControlStatement by allowing commented blocks. Thanks to Gary Gregory. |
ggregory |
|
Fix SpotBugs RV_RETURN_VALUE_IGNORED_BAD_PRACTICE in JasminVisitor. Thanks to Gary Gregory. |
ggregory |
|
SpotBugs checks should ignore code generated by JavaCC. Thanks to Gary Gregory. |
ggregory |
|
Fix SpotBugs URF_UNREAD_FIELD in ClassDumper. Thanks to Gary Gregory. |
ggregory |
|
Fix SpotBugs DM_DEFAULT_ENCODING in JasminVisitor. Thanks to Gary Gregory. |
ggregory |
|
Fix SpotBugs RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE in ASTFunAppl. Thanks to Gary Gregory. |
ggregory |
|
Fix SpotBugs RV_ABSOLUTE_VALUE_OF_HASHCODE in Mini.Environment. Thanks to Gary Gregory. |
ggregory |
|
Fix SpotBugs DM_DEFAULT_ENCODING in Mini.MiniC. Thanks to Gary Gregory. |
ggregory |
|
Fix SpotBugs WMI_WRONG_MAP_ITERATOR in Package.go(String[]). Thanks to Gary Gregory. |
ggregory |
|
Deprecate TransitiveHull.INGORED in favor of TransitiveHull.getIgnored(). Thanks to Gary Gregory. |
ggregory |
|
Add accessors to model and unit tests, Javadoc #183. Thanks to nbauma109, Gary Gregory, Mark Roberts. |
ggregory |
|
Add Const.MAJOR_22. Thanks to Gary Gregory. |
ggregory |
|
Add Const.MINOR_22. Thanks to Gary Gregory. |
ggregory |
|
Add Const.MAJOR_23. Thanks to Gary Gregory. |
ggregory |
|
Add Const.MINOR_23. Thanks to Gary Gregory. |
ggregory |
|
Add Const.MAJOR_24. Thanks to Gary Gregory. |
ggregory |
|
Add Const.MINOR_24. Thanks to Gary Gregory. |
ggregory |
|
Bump tests from org.assertj:assertj-core 3.25.3 to 3.26.3 #322, #332. Thanks to Dependabot. |
ggregory |
|
Bump tests from org.jetbrains.kotlin:kotlin-stdlib 1.9.23 to 2.0.0 #309, #318. Thanks to Dependabot. |
ggregory |
|
Bump tests from org.apache.commons:commons-collections4 4.4 to 4.5.0-M2. Thanks to Gary Gregory. |
ggregory |
|
Bump org.apache.commons:commons-parent from 69 to 71. Thanks to Gary Gregory. |
ggregory |
|
Bump org.codehaus.mojo:taglist-maven-plugin from 3.0.0 to 3.1.0 #331. Thanks to Gary Gregory. |
ggregory |
Release 6.9.0 – 2024-04-21
Type |
Changes |
By |
|
Add Support for Java 16 records #290. Thanks to Pablo Nicolas Diaz, Gary Gregory, Paul King, Mark Roberts. |
ggregory |
|
Add null guard for InstructionFactory.createInvoke() #289. Thanks to Heewon Lee. |
ggregory |
|
Avoid possible NullPointerException in org.apache.bcel.classfile.DescendingVisitor.accept(E[]). Thanks to Gary Gregory. |
ggregory |
|
Avoid possible NullPointerException in AnnotationEntryGen.getAnnotationAttributes(ConstantPoolGen, AnnotationEntryGen[]). Thanks to Gary Gregory. |
ggregory |
|
Avoid possible NullPointerException in AnnotationEntryGen.copyValues(ElementValuePair[], ConstantPoolGen, boolean). Thanks to Gary Gregory. |
ggregory |
|
Avoid possible NullPointerException in ArrayElementValueGen.ArrayElementValueGen(int, ElementValue[], ConstantPoolGen). Thanks to Gary Gregory. |
ggregory |
|
Avoid possible NullPointerException in org.apache.bcel.generic.ClassGen.setMethods(Method[]). Thanks to Gary Gregory. |
ggregory |
|
Avoid possible NullPointerException in org.apache.bcel.generic.ClassGen.unpackAnnotations(Attribute[]). Thanks to Gary Gregory. |
ggregory |
|
Avoid possible NullPointerException in org.apache.bcel.classfile.ParameterAnnotationEntry.createParameterAnnotationEntries(Attribute[]). Thanks to Gary Gregory. |
ggregory |
|
Avoid possible NullPointerException in org.apache.bcel.generic.ClassGen.ClassGen(JavaClass). Thanks to Gary Gregory. |
ggregory |
|
Avoid possible NullPointerException in org.apache.bcel.generic.FieldGenOrMethodGen.addAll(Attribute[]). Thanks to Gary Gregory. |
ggregory |
|
Avoid possible NullPointerException in org.apache.bcel.classfile.ParameterAnnotationEntry.createParameterAnnotationEntries(Attribute[]). Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException after calling org.apache.bcel.classfile.MethodParameters.setParameters(MethodParameter[]) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException after calling org.apache.bcel.classfile.ParameterAnnotations.setParameterAnnotationTable(ParameterAnnotationEntry[]) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException after calling org.apache.bcel.classfile.LocalVariableTypeTable.setLocalVariableTable(LocalVariable[]) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException after calling org.apache.bcel.classfile.LocalVariableTable.setLocalVariableTable(LocalVariable[]) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException after calling org.apache.bcel.classfile.LineNumberTable.setLineNumberTable(LineNumber[]) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException after calling org.apache.bcel.classfile.JavaClass.setMethods(Method[] with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException after calling org.apache.bcel.classfile.JavaClass.setInterfaces(int[]) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException after calling org.apache.bcel.classfile.JavaClass.setInterfaceNames(String[]) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException after calling org.apache.bcel.classfile.JavaClass.setFields(Field[]) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException after calling org.apache.bcel.classfile.JavaClass.setAttributes(Attribute[]) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException after calling org.apache.bcel.classfile.ConstantPool.setConstantPool(Constant[]) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException after calling org.apache.bcel.classfile.FieldOrMethod.setAttributes(Attribute[]) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException after calling org.apache.bcel.classfile.Annotations.setAnnotationTable(AnnotationEntry[]) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException after calling org.apache.bcel.classfile.ArrayElementValue.ArrayElementValue(int, ElementValue[], ConstantPool) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException after calling org.apache.bcel.classfile.BootstrapMethod.BootstrapMethod(int, int[]) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException after calling org.apache.bcel.classfile.BootstrapMethod.setBootstrapArguments(int[]) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException after calling org.apache.bcel.classfile.BootstrapMethods.BootstrapMethods(int, int, BootstrapMethod[], ConstantPool) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException after calling org.apache.bcel.classfile.BootstrapMethods.setBootstrapMethods(BootstrapMethod[]) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException calling org.apache.bcel.generic.InstructionList.redirectLocalVariables(LocalVariableGen[], InstructionHandle, InstructionHandle) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException calling org.apache.bcel.generic.InstructionList.redirectExceptionHandlers(CodeExceptionGen[], InstructionHandle, InstructionHandle) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException calling org.apache.bcel.generic.InstructionList.findHandle(InstructionHandle[], int[], int, int) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException calling org.apache.bcel.generic.MethodGen.setArgumentTypes(Type[]) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException calling org.apache.bcel.generic.MethodGen.setArgumentNames(String[]) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException calling org.apache.bcel.generic.MethodGen.removeRuntimeAttributes(Attribute[]) with null. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException calling org.apache.bcel.generic.MethodGen.makeMutableVersion(AnnotationEntry[]) with null. Thanks to Gary Gregory. |
ggregory |
|
Bump org.apache.commons:commons-parent from 66 to 69 #283, #297. Thanks to Dependabot. |
ggregory |
|
Bump org.jetbrains.kotlin:kotlin-stdlib from 1.9.22 to 1.9.23 #284. Thanks to Dependabot. |
ggregory |
|
Bump commons-io:commons-io from 2.15.1 to 2.16.1 #295, #300. Thanks to Dependabot. |
ggregory |
Release 6.8.2 – 2024-02-21
Type |
Changes |
By |
|
Fix ConcurrentModificationException in org.apache.bcel.util.SyntheticRepository.getInstance() #275. Thanks to Guillaume Nodet. |
ggregory |
|
Add Maven property project.build.outputTimestamp for build reproducibility. Thanks to Gary Gregory. |
ggregory |
|
Bump GitHub various actions for CI builds. Thanks to Dependabot. |
ggregory |
|
Bump org.assertj:assertj-core from 3.25.1 to 3.25.2. Thanks to Dependabot. |
ggregory |
|
Bump org.apache.commons:commons-parent from 65 to 66. Thanks to Dependabot. |
ggregory |
Release 6.8.1 – 2024-01-07
Type |
Changes |
By |
|
Replace internal use of StringBuffer with StringBuilder. Thanks to Gary Gregory. |
ggregory |
|
CONSTANT_Dynamic is not handled in LDC #254. Fixes BCEL-370. Thanks to Gary Gregory. |
ggregory |
|
BCELComparator now uses generics. Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException in ClassGen.BCELComparator#equals() and ClassGen.BCELComparator#hashCode(). Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException in Constant.BCELComparator#equals() and Constant.BCELComparator#hashCode(). Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException in Field.BCELComparator#equals() and Field.BCELComparator#hashCode(). Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException in FieldGen.BCELComparator#equals() and FieldGen.BCELComparator#hashCode(). Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException in JavaClass.BCELComparator#equals() and JavaClass.BCELComparator#hashCode(). Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException in Method.BCELComparator#equals() and Method.BCELComparator#hashCode(). Thanks to Gary Gregory. |
ggregory |
|
Avoid NullPointerException in MethodGen.BCELComparator#equals() and MethodGen.BCELComparator#hashCode(). Thanks to Gary Gregory. |
ggregory |
|
Bump GitHub various actions for CI builds. Thanks to Dependabot. |
ggregory |
|
Bump jna.version from 5.13.0 to 5.14.0 #250. Thanks to Dependabot. |
ggregory |
|
Bump org.jetbrains.kotlin:kotlin-stdlib from 1.9.21 to 1.9.22 #252. Thanks to Dependabot. |
ggregory |
|
Bump org.apache.commons:commons-exec from 1.3 to 1.4.0 #255. Thanks to Dependabot. |
ggregory |
Release 6.8.0 – 2023-12-03
Type |
Changes |
By |
|
Add and use InvalidMethodSignatureException extending ClassFormatException. Thanks to Gary Gregory. |
ggregory |
|
Increase code coverage in Class2HTMLTestCase with new test input Java4Example #186. Thanks to nbauma109. |
ggregory |
|
Add verifier tests on some opcodes #180. Thanks to nbauma109. |
ggregory |
|
Added signature test cases for class/method, and bad signatures #182. Thanks to nbauma109. |
ggregory |
|
Add Const.MAJOR_20. Thanks to Gary Gregory. |
ggregory |
|
Add Const.MINOR_20. Thanks to Gary Gregory. |
ggregory |
|
Add Const.MAJOR_21. Thanks to Gary Gregory. |
ggregory |
|
Add Const.MINOR_21. Thanks to Gary Gregory. |
ggregory |
|
[Bcelifier] stackmap support to pass JDK verifier #177. Thanks to nbauma109, Gary Gregory, Mark Roberts. |
ggregory |
|
Fix SpotBugs [ERROR] Class org.apache.bcel.util.ClassVector defines non-transient non-serializable instance field vec [org.apache.bcel.util.ClassVector] In ClassVector.java SE_BAD_FIELD. Thanks to Gary Gregory. |
ggregory |
|
Fix SpotBugs [ERROR] Switch statement found in org.apache.bcel.util.BCELFactory.visitAllocationInstruction(AllocationInstruction) where one case falls through to the next case [org.apache.bcel.util.BCELFactory, org.apache.bcel.util.BCELFactory] At BCELFactory.java:[lines 188-191]Another occurrence at BCELFactory.java:[lines 192-196] SF_SWITCH_FALLTHROUGH. Thanks to Gary Gregory. |
ggregory |
|
When parsing an class with an invalid constant reference, ensure ClassParser.parse() throws ClassFormatException, not NullPointerException. Thanks to OSS-Fuzz. |
markt |
|
Ensure that references to a constant pool entry with index zero trigger a ClassFormatException, not a NullPointerException. Thanks to OSS-Fuzz. |
markt |
|
Ensure that references to the unused constant pool entry after a long/double entry triggers a ClassFormatException, not a NullPointerException. Thanks to OSS-Fuzz. |
markt |
|
Test and coverage of InstructionFactory #190. Thanks to nbauma109. |
markt |
|
Verifier: test and coverage for SWAP instruction #188. Thanks to nbauma109. |
ggregory |
|
Exception parsing Kotlin class with 'fun `method name with () in it`()' #205. Thanks to Jason Copenhaver, Gary Gregory. |
ggregory |
|
Fix null pointers in AnnotationEntry #213. Thanks to nbauma109, Gary Gregory. |
ggregory |
|
Field not found, search field in both super class and implemented interfaces (5x duplicated code to find field by name and type is refactored to a new method and now supports package-private) #181. Thanks to nbauma109. |
ggregory |
|
Use alternative name for broken classes under test #220. Fixes BCEL-366. Thanks to Slawomir Jaranowski. |
ggregory |
|
Fixes java.lang.IndexOutOfBoundsException for ATHROW on empty stack #223. Fixes BCEL-367. Thanks to Katherine Hough, Gary Gregory. |
ggregory |
|
Fixes java.lang.StackOverflowError in Select#toString(boolean) #229. Fixes BCEL-368. Thanks to Katherine Hough, Gary Gregory. |
ggregory |
|
Fix for type.getType(...) use on non-signature type names #221. Thanks to nbauma109, Judit Knoll, Gary Gregory. |
ggregory |
|
Fix EmptyVisitorTestCase on Java 21. Thanks to Gary Gregory. |
ggregory |
|
Bump commons-parent from 54 to 65 #189, #198, #222. Thanks to Gary Gregory, Dependabot. |
ggregory |
|
Bump jna.version from 5.12.1 to 5.13.0 #203. Thanks to Dependabot. |
ggregory |
|
Bump kotlin-stdlib from 1.8.10 to 1.9.21 #217, #219, #227, #231, #235, #245, #247. Thanks to Dependabot. |
ggregory |
|
Bump commons-io from 2.11.0 to 2.15.1. Thanks to Dependabot. |
ggregory |
|
Bump commons-lang3 from 3.12.0 to 3.14.0. Thanks to Gary Gregory. |
ggregory |
|
Bump org.codehaus.mojo:exec-maven-plugin from 3.1.0 to 3.1.1 #246. Thanks to Gary Gregory. |
ggregory |
Release 6.7.0 – 2022-11-28
Type |
Changes |
By |
|
Add org.apache.bcel.classfile.ClassFormatException.ClassFormatException(Throwable). Thanks to Gary Gregory. |
ggregory |
|
Add org.apache.bcel.classfile.JavaClass.EXTENSION. Thanks to Gary Gregory. |
ggregory |
|
Add org.apache.bcel.classfile.Module.EXTENSION. Thanks to Gary Gregory. |
ggregory |
|
Add org.apache.bcel.util.Args. Thanks to Gary Gregory. |
ggregory |
|
Add org.apache.bcel.generic.ArrayType.getClassName(). Thanks to Gary Gregory. |
ggregory |
|
Add org.apache.bcel.generic.Type.getClassName(). Thanks to Gary Gregory. |
ggregory |
|
Add org.apache.bcel.classfile.Utility.packageToPath(String). Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.MethodParameter now implements org.apache.bcel.classfile.Node. Thanks to Gary Gregory, Mark Roberts. |
ggregory |
|
Add org.apache.bcel.classfile.JavaClass.getSourceFilePath(). Thanks to nbauma109, Gary Gregory. |
ggregory |
|
Add org.apache.bcel.generic.PUSH.PUSH(ConstantPoolGen, ArrayType). Thanks to nbauma109, Gary Gregory. |
ggregory |
|
Avoid internal NPE in org.apache.bcel.util.ClassPath.getInputStream(String, String). Thanks to Gary Gregory. |
ggregory |
|
InstructionConstants.ALOAD_0 value is wrong (regression from 6.6.0). Thanks to Gary Gregory. |
ggregory |
|
InstructionConstants.DCONST_0 value is wrong (regression from 6.6.0). Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.Attribute constructors now throw ClassFormatException on invalid name index input. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.CodeException constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.ConstantInvokeDynamic.ConstantInvokeDynamic(DataInput). Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.ConstantValue constructors now throw ClassFormatException on invalid length input. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.Deprecated constructors now throw ClassFormatException on invalid length input. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.EnclosingMethod constructors now throw ClassFormatException on invalid length, class index, or method index input. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.ExceptionTable constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.InnerClasses constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.LineNumber constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.LocalVariable constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.LocalVariableTable constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.LocalVariableTypeTable constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.ModuleMainClass constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.ModulePackages constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.NestHost constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.NestMembers constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.Signature constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.SourceFile constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.StackMap constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.StackMapEntry.StackMapEntry(DataInput, ConstantPool) reads signed instead of unsigned shorts from its DataInput. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.StackMapType.StackMapType(DataInput, ConstantPool) reads signed instead of unsigned shorts from its DataInput. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.Synthetic constructors now throw ClassFormatException on invalid length input. Thanks to Gary Gregory. |
ggregory |
|
org.apache.bcel.util.ClassPath hashCode() and equals() don't match. Thanks to Gary Gregory. |
ggregory |
|
Fix code duplication in org.apache.bcel.verifier.structurals.ExceptionHandlers.ExceptionHandlers(MethodGen). Thanks to Mark Roberts, Gary Gregory. |
ggregory |
|
Improve test coverage to bcel/generic and UtilityTest #162. Thanks to Sam Ng, Gary Gregory. |
ggregory |
|
Code coverage and bug fixes for bcelifier #171. Thanks to nbauma109, Gary Gregory. |
ggregory |
|
Code coverage and unit tests on the verifier #166. Thanks to nbauma109, Gary Gregory. |
ggregory |
|
Typo in SimpleElementValue error message #161. Thanks to nbauma109, Gary Gregory. |
ggregory |
|
org.apache.bcel.classfile.Attribute constructors now throw ClassFormatException on invalid length input. Thanks to Mark Thomas, Gary Gregory. |
markt |
|
References to constant pool entries that are not of the expected type should throw ClassFormatException, not ClassCastException. Thanks to OSS-Fuzz. |
markt |
|
When parsing an invalid class, ensure ClassParser.parse() throws ClassFormatException, not IllegalArgumentException. Thanks to OSS-Fuzz. |
markt |
|
org.apache.bcel.classfile.Code constructors now throw ClassFormatException on invalid input. Thanks to OSS-Fuzz. |
markt |
|
org.apache.bcel.classfile.StackMapType constructors now throw ClassFormatException on invalid input. Thanks to OSS-Fuzz. |
markt |
|
When parsing class files, limit arrays to no more than 255 dimensions as per section 4.4.1 of the JVM specification. Thanks to OSS-Fuzz. |
markt |
|
Tests and coverage for Utility class #175. Thanks to nbauma109. |
ggregory |
|
Unit tests and coverage for binary operations #174. Thanks to nbauma109. |
ggregory |
|
Fix possible NullPointerException in org.apache.bcel.classfile.StackMap.setStackMap(StackMapEntry[]). Thanks to Gary Gregory. |
ggregory |
|
Bump spotbugs-maven-plugin from 4.7.2.2 to 4.7.3.0 #167. Thanks to Gary Gregory. |
ggregory |
|
Bump jmh.version from 1.35 to 1.36 #170. Thanks to Dependabot. |
ggregory |
|
Bump pmd from 6.51.0 to 6.52.0. Thanks to Gary Gregory. |
ggregory |
|
Bump japicmp from 0.16.0 to 0.17.1. Thanks to Gary Gregory. |
ggregory |
Release 6.6.1 – 2022-10-29
Type |
Changes |
By |
|
Keep ConstantPool.getConstant(int) backward compatible with 6.5.0 #157. Thanks to Kengo TODA, Gary Gregory. |
ggregory |
|
Bump actions/setup-java from 3.5.1 to 3.7.0 #159, #179. Thanks to Dependabot. |
ggregory |
|
Bump spotbugs from 4.7.2 to 4.7.3. Thanks to Gary Gregory. |
ggregory |
|
Bump spotbugs-maven-plugub from 4.7.2.1 to 4.7.2.2. Thanks to Gary Gregory. |
ggregory |
|
Bump pmd from 6.50.0 to 6.51.0. Thanks to Gary Gregory. |
ggregory |
Release 6.6.0 – 2022-10-08
Type |
Changes |
By |
|
Improve test case coverage; fix Utility.encode bug #46. Thanks to Mark Roberts, Gary Gregory. |
ggregory |
|
Migrate test suite to JUnit Jupiter #68. Fixes BCEL-342. Thanks to Allon Murienik, Gary Gregory. |
ggregory |
|
JUnit Assertion improvement #69. Fixes BCEL-343. Thanks to Allon Murienik, Gary Gregory. |
ggregory |
|
Minor improvements to comments and toString() methods #71. Thanks to Mark Roberts. |
ggregory |
|
Minor Improvements #83. Thanks to Arturo Bernal. |
ggregory |
|
Inline variable and avoid unnecessary variable. #94. Thanks to Arturo Bernal. |
ggregory |
|
Formalize PerformanceTest #168. Thanks to Mark Roberts, Gary Gregory. |
ggregory |
|
Java 8 improvements #95. Thanks to Arturo Bernal. |
ggregory |
|
Make documentation wording more inclusive #98. Fixes BCEL-345. Thanks to Christine Poerschke. |
ggregory |
|
Force unsigned short for LineNumber.toString() #118. Thanks to Mark Roberts, Gary Gregory. |
ggregory |
|
Fix IllegalStateException when calling toString(ConstantPool) on a Module or ModuleRequires #125. Thanks to Tim Boudreau, Gary Gregory. |
ggregory |
|
Generate HTML in UTF-8 instead of whatever happens to be the default platform encoding. Thanks to Gary Gregory. |
ggregory |
|
Several fixes to the verifier #117. Fixes BCEL-303. Thanks to Mark Roberts, Gary Gregory. |
ggregory |
|
Several fixes to the verifier #117. Fixes BCEL-307. Thanks to Mark Roberts, Gary Gregory. |
ggregory |
|
Several fixes to the verifier #117. Fixes BCEL-308. Thanks to Mark Roberts, Gary Gregory. |
ggregory |
|
Several fixes to the verifier #117. Fixes BCEL-309. Thanks to Mark Roberts, Gary Gregory. |
ggregory |
|
Several fixes to the verifier #117. Fixes BCEL-311. Thanks to Mark Roberts, Gary Gregory. |
ggregory |
|
Several fixes to the verifier #117. Fixes BCEL-312. Thanks to Mark Roberts, Gary Gregory. |
ggregory |
|
Several fixes to the verifier #117. Fixes BCEL-313. Thanks to Mark Roberts, Gary Gregory. |
ggregory |
|
Several fixes to the verifier #117. Fixes BCEL-337. Thanks to Mark Roberts, Gary Gregory. |
ggregory |
|
Close resources #138. Thanks to Michael Ernst, Gary Gregory. |
ggregory |
|
Improve condy (constant dynamic) support #139. Thanks to Alexander Kriegisch, Gary Gregory. |
ggregory |
|
Fix typos #140. Thanks to Michael Ernst. |
ggregory |
|
Enforce MAX_CP_ENTRIES in ConstantPoolGen and ConstantPool.dump #147. Fixes BCEL-363. Thanks to Richard Atkins, Gary Gregory. |
ggregory |
|
Minor Changes #99. Thanks to Arturo Bernal, Gary Gregory. |
ggregory |
|
Simplify boolean expressions #152. Thanks to Arturo Bernal. |
ggregory |
|
Use Math.max #151. Thanks to Arturo Bernal. |
ggregory |
|
org.apache.bcel.classfile.Signature.translate(String) does not detect EOF correctly. Thanks to Gary Gregory. |
ggregory |
|
Fix SpotBugs [ERROR] High: Found reliance on default encoding in new org.apache.bcel.util.BCELifier(JavaClass, OutputStream): new java.io.PrintWriter(OutputStream) [org.apache.bcel.util.BCELifier] At BCELifier.java:[line 169] DM_DEFAULT_ENCODING. Thanks to Gary Gregory. |
ggregory |
|
Fix SpotBugs [ERROR] Medium: Unread field: org.apache.bcel.verifier.GraphicalVerifier.packFrame; should this field be static? [org.apache.bcel.verifier.GraphicalVerifier] At GraphicalVerifier.java:[line 43] SS_SHOULD_BE_STATIC. Thanks to Gary Gregory. |
ggregory |
|
Fix SpotBugs [ERROR] Medium: new org.apache.bcel.util.ModularRuntimeImage(String) creates a java.net.URLClassLoader classloader, which should be performed within a doPrivileged block [org.apache.bcel.util.ModularRuntimeImage] At ModularRuntimeImage.java:[line 68] DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED. Thanks to Gary Gregory. |
ggregory |
|
Add github/codeql-action. |
ggregory |
|
Make Annotations implement Iterable<AnnotationEntry>. Thanks to Gary Gregory. |
ggregory |
|
Make BootstrapMethods implement Iterable<BootstrapMethod>. Thanks to Gary Gregory. |
ggregory |
|
Make ConstantPool implement Iterable<Constant>. Thanks to Gary Gregory. |
ggregory |
|
Make InnerClasses implement Iterable<InnerClass>. Thanks to Gary Gregory. |
ggregory |
|
Make LineNumberTable implement Iterable<LineNumber>. Thanks to Gary Gregory. |
ggregory |
|
Make LocalVariableTable implement Iterable<LocalVariable>. Thanks to Gary Gregory. |
ggregory |
|
Make LocalVariableTypeTable implement Iterable<LocalVariable>. Thanks to Gary Gregory. |
ggregory |
|
Make MethodParameters implement Iterable<MethodParameter>. Thanks to Gary Gregory. |
ggregory |
|
Make ParameterAnnotations implement Iterable<ParameterAnnotationEntry>. Thanks to Gary Gregory. |
ggregory |
|
Add Const.MAJOR_15 Thanks to Gary Gregory. |
ggregory |
|
Add Const.MAJOR_16 Thanks to Gary Gregory. |
ggregory |
|
Add Const.MAJOR_17 Thanks to Gary Gregory. |
ggregory |
|
Add Const.MAJOR_18 Thanks to Gary Gregory. |
ggregory |
|
Add Const.MAJOR_19 Thanks to Gary Gregory. |
ggregory |
|
Add Const.MINOR_15 Thanks to Gary Gregory. |
ggregory |
|
Add Const.MINOR_16 Thanks to Gary Gregory. |
ggregory |
|
Add Const.MINOR_17 Thanks to Gary Gregory. |
ggregory |
|
Add Const.MINOR_18 Thanks to Gary Gregory. |
ggregory |
|
Add Const.MINOR_19 Thanks to Gary Gregory. |
ggregory |
|
Bump actions/cache from 2 to 3.0.11 #88, #93, #110, #119, #149, #154, #156. Thanks to Dependabot, Gary Gregory. |
ggregory |
|
Bump actions/checkout from 2.3.1 to 3.1.0 #59, #66, #73, #108, #115, #153. Thanks to Dependabot, Gary Gregory. |
ggregory |
|
Bump actions/setup-java from 1.4.0 to 3.5.1 #62, #67. Thanks to Dependabot, Gary Gregory. |
ggregory |
|
Bump tests from Apache Commons Lang 3.10 to 3.12.0 Thanks to Gary Gregory. |
ggregory |
|
Bump commons-parent from 50 to 54. Thanks to Gary Gregory. |
ggregory |
|
Bump biz.aQute.bndlib from 5.1.0 to 6.3.1, #54, #72, #81, #111. Thanks to Dependabot, Gary Gregory. |
ggregory |
|
Bump maven-surefire-plugin from 3.0.0-M4 to 3.0.0-M7 #53, #124, #129. Thanks to Dependabot. |
ggregory |
|
Bump maven-checkstyle-plugin from 3.1.0 to 3.2.0, #77, #141. Thanks to Gary Gregory, Dependabot. |
ggregory |
|
Bump Jacoco from 0.8.5 to 0.8.8. Thanks to Dependabot, Gary Gregory. |
ggregory |
|
Bump commons-io from 2.7 to 2.11.0 #65, #96. Thanks to Dependabot, Gary Gregory. |
ggregory |
|
Bump exec-maven-plugin from 1.6.0 to 3.1.0 #51, #134. Thanks to Dependabot. |
ggregory |
|
Bump commons.japicmp.version from 0.14.3 to 0.16.0. Thanks to Gary Gregory. |
ggregory |
|
Bump maven-pmd-plugin from 3.13.0 to 3.19. #74, #103, #116, #130, #142, #144. Thanks to Dependabot. |
ggregory |
|
Bump pmd from 6.44.0 to 6.50.0. Thanks to Dependabot, Gary Gregory. |
ggregory |
|
Bump junit-jupiter from 5.7.0 to 5.9.1 #78, #90, #101, #112, #135. Thanks to Dependabot, Gary Gregory. |
ggregory |
|
Bump jna.version from 5.6.0 to 5.12.1 #84, #102, #109, #120, #131. Thanks to Dependabot. |
ggregory |
|
Bump jmh.version from 1.19 to 1.35 #92, #100, #122. Thanks to Dependabot. |
ggregory |
|
Bump maven-javadoc-plugin from 3.2.0 to 3.4.1. Thanks to Gary Gregory. |
ggregory |
|
Bump maven-bundle-plugin from 5.1.1 to 5.1.8. Thanks to Gary Gregory. |
ggregory |
|
Bump taglist-maven-plugin from 2.4 to 3.0.0 #114. Thanks to Dependabot. |
ggregory |
|
Bump spotbugs-maven-plugin from 4.5.3.0 to 4.7.2.1 #128, #132, #136, #144, #155. Thanks to Gary Gregory, Dependabot. |
ggregory |
|
Bump spotbugs from 4.5.3 to 4.7.1. Thanks to Gary Gregory. |
ggregory |
Release 6.5.0 – 2020-06-05
Type |
Changes |
By |
|
Remove unnecessary references to Constants. Fixes BCEL-330. Thanks to Mark Roberts. |
ggregory |
|
MethodGen duplicates some attributes. Fixes BCEL-329. Thanks to Gary Gregory, Mark Roberts. |
ggregory |
|
MethodGen throws NullPointerException upon Invalid Class File Missing Constructor Body. Fixes BCEL-336. Thanks to Tomo Suzuki, Gary Gregory. |
ggregory |
|
Improve documentation of Pass3bVerifier (#37). Thanks to Michael Ernst. |
ggregory |
|
Replaced deprecated constants in examples (#38). Thanks to Arthur Kupriyanov. |
ggregory |
|
Update tests from JNA 5.4.0 to 5.5.0. Thanks to Gary Gregory. |
ggregory |
|
Update tests JUnit from 4.12 to 4.13. Thanks to Gary Gregory. |
ggregory |
|
Update tests from Apache Commons Lang 3.9 to 3.10. Thanks to Gary Gregory. |
ggregory |
|
Update build maven-pmd-plugin 3.12.0 -> 3.13.0. Thanks to Gary Gregory. |
ggregory |
|
Update tests maven-surefire-plugin 3.0.0-M3 -> 3.0.0-M4. Thanks to Gary Gregory. |
ggregory |
|
Update build japicmp-maven-plugin 0.14.1 -> 0.14.3. Thanks to Gary Gregory. |
ggregory |
|
Update build jacoco-maven-plugin 0.8.4 -> 0.8.5. Thanks to Gary Gregory. |
ggregory |
|
Update tests from commons-io:commons-io 2.6 to 2.7. Thanks to Gary Gregory. |
ggregory |
|
Add support for invokestatic of an InterfaceMethodref #39. Thanks to Mark Roberts. |
ggregory |
|
Add attribute name(s) to Code.toString() #40. Thanks to Mark Roberts. |
ggregory |
|
org.apache.bcel.generic.InstructionFactory.createInvoke() populates its internal ConstantPoolGen on bad input, then throws exception. Fixes BCEL-338. Thanks to Gary Gregory. |
ggregory |
|
Throw IllegalArgumentException, IllegalStateException, UnsupportedOperationException instead of RuntimeException. Fixes BCEL-339. Thanks to Gary Gregory. |
ggregory |
|
Make some annotation methods public (#45). Thanks to Mark Roberts. |
ggregory |
|
Fix ConcurrentModificationException in the maven-bundle-plugin:4.2.1:manifest on Java 15-ea. Thanks to Gary Gregory. |
ggregory |
Release 6.4.1 – 2019-09-26
Type |
Changes |
By |
|
java.util.EmptyStackException at org.apache.bcel.classfile.DescendingVisitor.visitModule (DescendingVisitor.java:592). Fixes BCEL-328. Thanks to Gary Gregory, Mark Roberts. |
ggregory |
|
Update build from Checkstyle Maven Plugin 3.0.0 to 3.1.0. Thanks to Gary Gregory. |
ggregory |
Release 6.4.0 – 2019-09-20
Type |
Changes |
By |
|
org.apache.bcel.classfile.Attribute class and subclasses should NOT log to the console by default. Fixes BCEL-316. Thanks to Gary Gregory. |
ggregory |
|
InvokeInstruction.toString(final ConstantPool cp) throws NoSuchElementException #11. Fixes BCEL-278. Thanks to Valery Barysoky. |
ggregory |
|
Add method org.apache.bcel.classfile.ConstantUtf8.clearCache(). Fixes BCEL-318. Thanks to Gary Gregory. |
ggregory |
|
Pluggable cache for ConstantUtf8. Fixes BCEL-317. Thanks to Tomo Suzuki, Gary Gregory. |
ggregory |
|
Add LruCacheClassPathRepository that can scan many JAR files without OutOfMemoryError. Fixes BCEL-320. Thanks to Tomo Suzuki, Gary Gregory. |
ggregory |
|
Fix example src/examples/ClassDumper.java ClassDumper.processID(). Fixes BCEL-299. Thanks to Gary Gregory, zhangminglei. |
ggregory |
|
Add constants to org.apache.bcel.Const for Java 14. Fixes BCEL-322. Thanks to Gary Gregory. |
ggregory |
|
Calling toString(ConstantPool) on InvokeInstruction throws NullPointerException. Fixes BCEL-270. Thanks to Alexandru-Constantin Bledea. |
ggregory |
|
Refactor subclasses of ClassPathRepository for differences in underlying cache. Fixes BCEL-321. Thanks to Tomo Suzuki. |
ggregory |
|
org.apache.bcel.util.BCELifier to set major and minor versions. Fixes BCEL-323. Thanks to Tomo Suzuki. |
ggregory |
|
Add missing Java 9 and Java 11 class file attributes. #33. Fixes BCEL-326. Thanks to Mark Roberts. |
ggregory |
|
ClassDumper crashes on a module-info.class. #33. Fixes BCEL-325. Thanks to Mark Roberts. |
ggregory |
|
Update signature scanning in Utility to support TypeParameters. #32. Fixes BCEL-327. Thanks to Mark Roberts. |
ggregory |
|
Update tests from JNA 4.5.0 to 5.3.1. Thanks to Gary Gregory. |
ggregory |
|
Update tests from JNA 5.3.1. to 5.4.0. Thanks to Gary Gregory. |
ggregory |
Release 6.3.1 – 2019-03-20
Type |
Changes |
By |
|
Race conditions on static fields in BranchHandle and InstructionHandle. Fixes BCEL-267. Thanks to Stephan Herrmann, Sebb, Gary Gregory, Torsten Curdt. |
ggregory |
|
Possible NPE in override implementation of Object.equals (#20). Fixes BCEL-297. Thanks to Mark Roberts, mingleizhang. |
ggregory |
|
Add some files to .gitignore (#19). Fixes BCEL-298. Thanks to mingleizhang. |
ggregory |
|
NullPointerException at org.apache.bcel.classfile.FieldOrMethod.dump(). Fixes BCEL-315. Thanks to Gary Gregory. |
ggregory |
Release 6.3 – 2019-01-23
Type |
Changes |
By |
|
ClassPath.getClassFile() and friends do not work with JDK 9 and higher (PR #22.). Fixes BCEL-304. Thanks to Gary Gregory, Ed Pavlak. |
ggregory |
|
ClassPath.getClassFile() and friends do not work with JRE 9 and higher. Fixes BCEL-305. Thanks to Gary Gregory. |
ggregory |
|
Initial support for Java 11 Thanks to Mark Thomas, Gary Gregory. |
ggregory |
|
Added org.apache.bcel.classfile.Visitor.visitConstantDynamic(ConstantDynamic) Thanks to Mark Thomas. |
ggregory |
|
Added org.apache.bcel.classfile.ConstantDynamic Thanks to Mark Thomas. |
ggregory |
|
Added fields in org.apache.bcel.Const for Java 9, 10, and 11. Thanks to Mark Thomas. |
ggregory |
|
Added fields in org.apache.bcel.Const for Java 12 and 13 based on Java Early Access releases. Thanks to Mark Thomas. |
ggregory |
|
Update Java requirement from Java 7 to Java 8. Thanks to Gary Gregory. |
ggregory |
Release 6.2 – 2017-12-08
Type |
Changes |
By |
|
Incorrect comment in StackMap.java. Fixes BCEL-294. Thanks to Mark Roberts. |
britter |
|
Incorrect comment in several classes. Fixes BCEL-296. Thanks to Mark Roberts. |
ggregory |
|
Fix local variable live range length; add test case. Fixes BCEL-295. Thanks to Mark Roberts. |
ggregory |
|
org.apache.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19. Fixes BCEL-300. |
ggregory |
|
org.apache.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 20. Fixes BCEL-301. |
ggregory |
Release 6.1 – 2017-09-14
Type |
Changes |
By |
|
Add Automatic-Module-Name MANIFEST entry for Java 9 compatibility. Fixes BCEL-293. |
britter |
|
Add minimal Java 9 support. Fixes BCEL-292. |
markt |
|
Utility.signatureToString fails if a method has multiple type arguments. Fixes BCEL-286. Thanks to Mark Roberts. |
britter |
|
IINC does not handle -128 properly. Fixes BCEL-287. Thanks to Mark Roberts. |
britter |
|
Support for StackMap should be different from StackMapTable. Fixes BCEL-283. Thanks to Mark Roberts. |
britter |
|
Crash when parsing constructor of inner classes with parameters annotated. Fixes BCEL-289. |
kinow |
|
LocalVariableTypeTable is not updated. Fixes BCEL-276. Thanks to Sam Yoon, Mark Roberts. |
britter |
|
Resolving the String representation of a constant throws NoSuchElementException in case of CONSTANT_NameAndType constant. Fixes BCEL-277. Thanks to Sam Yoon. |
britter |
Release 6.0 – 2016-07-10
Type |
Changes |
By |
|
InvokeInstruction.getClassName(ConstantPoolGen)
should not throw an exception when it detects an array. Fixes BCEL-262. Thanks to Mark Roberts. |
britter |
|
non-empty final arrays should be private as they are mutable. Fixes BCEL-237. |
sebb |
|
Document the Java platform requirement clearly and early. Fixes BCEL-230. |
britter |
|
Type.getType() needs to understand TypeVariableSignature(s). Fixes BCEL-243. |
|
|
Add constants for Java 9 class file version 53. Fixes BCEL-272. |
|
|
FCONST pattern does not include FCONST_2. Fixes BCEL-271. |
|
|
Add missing Node.accept() implementations (ConstantMethodHandle,
ConstantMethodType, ParameterAnnotationEntry). Fixes BCEL-264. |
|
|
BCELifier is not working for Java8Example (incomplete). Fixes BCEL-221. |
|
|
Addition of hashCode() to generic/Instruction.java breaks Targeters.
Never make distinct BranchInstructions compare equal. Fixes BCEL-195. |
|
|
Select constructor allows partially constructed instance to escape.
Re-ordered code to delay the escape. Fixes BCEL-261. |
|
|
Minor doc error in BranchInstruction.java. Fixes BCEL-259. |
|
|
ClassDumper example duplicates field attribute types. Fixes BCEL-260. |
|
|
No tests to check the output of dump methods. Fixes BCEL-258. |
|
|
INVOKESPECIAL, INVOKESTATIC, INVOKEVIRTUAL need to define dump()
methods. Fixes BCEL-257. |
|
|
Two more methods that would be nice to be public. Fixes BCEL-254. |
|
|
Type class includes constants that reference subclasses. Fixes BCEL-245. |
|
|
Pass 3b verifier is too strict. Fixes BCEL-253. |
|
|
StackMapTable[Entry] should be removed and improvements merged into
StackMap[Entry]. Fixes BCEL-248. |
|
|
StackMap[Table]Entry.copy() needs to be deep; Improved support for
StackMaps. Fixes BCEL-202. |
|
|
Pass3aVerifier visitANEWARRAY() does not allow 255 array dimensions. Fixes BCEL-251. |
|
|
Some additional clone methods should be public. Fixes BCEL-211. |
|
|
Check for max Short seems wrong. Fixes BCEL-249. |
|
|
Document that Instruction Factory returns singleton instances. Fixes BCEL-127. |
|
|
better support for clone/copy methods. Fixes BCEL-198. |
|
|
Remove Serializable. Fixes BCEL-242. |
|
|
Problem with JAXB if the bcel classloader is used; remove the broken
ClassLoader class. Fixes BCEL-110. |
|
|
modify several toString methods to make output similar to "javap". Fixes BCEL-201. |
|
|
add javadoc comments to LineNumber.java and LineNumberTable.java. Fixes BCEL-205. |
|
|
Need to check for an empty InstructionList. Fixes BCEL-208. |
|
|
Inconsistent toString() results. Fixes BCEL-212. |
|
|
long type instructions are not searched by InstructionFinder using
regular expression. Fixes BCEL-217. |
|
|
Update Java requirement from 5 to 7. Fixes BCEL-244. |
ggregory |
|
Interfaces should not be used to define constants. Fixes BCEL-239. |
|
|
Code must not swallow Throwable. Fixes BCEL-234. |
|
|
Make org.apache.bcel.classfile.ConstantPool.ConstantPool(DataInput)
public. Fixes BCEL-219. Thanks to Maxim Degtyarev. |
|
|
Bug fixes and improvements to InvokeDynamic and BootStrapMethods
implementation. Fixes BCEL-209. Thanks to Mark Roberts. |
|
|
Verification error when an invoke references a method defined in
superclass. Fixes BCEL-187. Thanks to Jérôme Leroux. |
|
|
Remove ObjectType cache. Fixes BCEL-218. Thanks to chas. |
|
|
The verifier now checks if methods with a void return type attempt
to return an object. Fixes BCEL-184. Thanks to Jérôme Leroux. |
|
|
MethodGen.removeLocalVariable now properly unreference the removed
variable from the targetters of the instruction handlers delimiting
the scope of the variable. Fixes BCEL-207. Thanks to Mark Roberts. |
|
|
Utility.signatureToString() no longer throws a ClassFormatException
on TypeVariables found in generic signatures. Fixes BCEL-197. Thanks to Mark Roberts. |
|
|
Removed the 'index' variable from the LocalVariableGen's hash code. Fixes BCEL-194. Thanks to Mark Roberts. |
|
|
The verifier should not check for run time compatibility of objects
assigned to arrays. Fixes BCEL-193. Thanks to Jérôme Leroux. |
markt |
|
Correct verification of the return value of a method. Fixes BCEL-188. Thanks to Jérôme Leroux. |
markt |
|
Performance degradation with the UTF8 cache. getInstance no longer
uses cache. Fixes BCEL-186. |
sebb |
|
org.apache.bcel.util.ClassLoaderRepository.loadClass(String) leaks
input streams. Fixes BCEL-181. |
ggregory |
|
Add parent type processing for ClassPath class. Fixes BCEL-76. |
|
|
Add support for getResource and getResourceAsStream to ClassPath. Fixes BCEL-83. |
|
|
Properly parse StackMapTable attributes in Java 6 classfiles. Fixes BCEL-92. |
|
|
Javadoc overhaul. Fixes BCEL-104. |
|
|
BCEL is unnecessarily slow. Fixes BCEL-119. |
|
|
Add support for INVOKEDYNAMIC and MethodHandles. Fixes BCEL-157. |
|
|
Why using unstable sort at MethodGen.getLocalVariables() ?. Fixes BCEL-160. |
sebb |
|
Incorporate patch file from Findbugs. Fixes BCEL-163. |
|
|
Implement the MethodParameters attribute. Fixes BCEL-175. |
|
|
Mistake in "Peephole optimizer" example
at https://commons.apache.org/bcel/manual.html. Fixes BCEL-28. |
|
|
BCEL cannot be used as java.system.class.loader. Fixes BCEL-74. |
|
|
XSLT transforms broken in Turkish Locale. Fixes BCEL-77. |
|
|
java.lang.ClassFormatError: LVTT entry for 'local' in class file
org/shiftone/jrat/test/dummy/CrashTestDummy does not match any LVT
entry. Fixes BCEL-79. |
|
|
ClassParser.parse() throws NullPointerException if class does not
exist and ClassParser(String) constructor is used. Fixes BCEL-81. |
|
|
ArrayOutOfBoundsException in InstructionFinder. Fixes BCEL-85. |
|
|
Website: Incorrect URL for source; version 5.2 is not in the bug
page. Fixes BCEL-87. |
|
|
bcelified method doesn't pass verification. Fixes BCEL-88. |
|
|
return type not verified by JustIce. Fixes BCEL-89. |
|
|
@since tag incorrect for Annotation classes in BCEL trunk. Fixes BCEL-94. |
|
|
InstructionFactory missing % operator for Float, Double. Fixes BCEL-95. |
|
|
Fields in Annotations and AnnotationEntry are inaccessible to
subclasses. Fixes BCEL-96. |
|
|
Add support for getResources to ClassPath. Fixes BCEL-97. |
|
|
Two source files in repository are empty. Fixes BCEL-98. |
|
|
Maven POM file calls in apache regex but code does not use it. Fixes BCEL-99. |
|
|
ClassParser throws unintelligible Exception. Fixes BCEL-100. |
|
|
verifier raises an AssertionViolatedException when done against
Java 5 files with generics/annotations. Fixes BCEL-101. |
|
|
Verifier fails in pass 2 with "Number of LocalVariableTable
attributes of Code attribute" on static methods. Fixes BCEL-102. |
|
|
ParameterAnnotationEntries are read not dumped. Fixes BCEL-107. |
|
|
RuntimeVisible Annotations duplicated. Fixes BCEL-108. |
|
|
ARRAYLENGTH incorrectly not StackConsumer. Fixes BCEL-112. |
|
|
Error in method search() defined in
org.apache.bcel.util.InstructionFinder. Fixes BCEL-114. |
|
|
Deleting all instructions of a list shows wrong behavior. Fixes BCEL-115. |
|
|
Make BCEL JAR OSGi compatible. Fixes BCEL-120. |
|
|
ArrayIndexOutOfBoundsException thrown from TABLESWITCH.initFromFile. Fixes BCEL-122. |
|
|
tableswitch/lookupswitch invalid alignment of 4-byte operands. Fixes BCEL-124. |
|
|
Incorrect size calculation in InstructionFinder. Fixes BCEL-125. |
|
|
Class files containing "ParameterAnnotations" are dumped
incorrectly. Fixes BCEL-130. |
|
|
Class files containing "StackMapTable" attributes (on method code)
are dumped incorrectly. Fixes BCEL-131. |
|
|
org.apache.bcel.classfile.ClassParser: NullPointerException caused
by fileopen failed. Fixes BCEL-132. |
|
|
org.apache.bcel.classfile.ClassParser: NullPointerException caused
by invalid filename. Fixes BCEL-133. |
|
|
ExecutionVisitor doesn't support Class constant type for LDC and
LDC_W. Fixes BCEL-134. |
|
|
BCELifier issue: BCELFactory fails to handle float and long
constants. Fixes BCEL-135. |
|
|
"Invalid method signature: TT;" when using MethodGen for a method
having a generic parameter. Fixes BCEL-137. |
|
|
FieldInstruction.getFieldSize() doesn't decode Type.getTypeSize()
output. Fixes BCEL-138. |
|
|
org.apache.bcel.generic.Instruction.equals(Object) does not follow
Object.equals(Object) rules. Fixes BCEL-140. |
|
|
Select instructions should implement StackConsumer instead of
StackProducer. Fixes BCEL-141. |
|
|
Fix CPL License issues with EnclosingMethod.java and
LocalVariableTypeTable.java. Fixes BCEL-143. |
|
|
Type.getReturnTypeSize() doesn't decode Type.getTypeSize() output. Fixes BCEL-145. |
|
|
SyntheticRepository.loadClass() fails to close the inputStream. Fixes BCEL-146. |
|
|
BCELifier produces incorrect code for methods containing loads of
class literals from constant pool. Fixes BCEL-148. |
|
|
Code attribute size not updated. Fixes BCEL-151. |
|
|
Incorrect link for Jasmin assembler language. Fixes BCEL-152. |
|
|
Examples not present in source or binary downloads. Fixes BCEL-153. |
sebb |
|
ClassParser.parse() generates NPE if it cannot open the file. Fixes BCEL-154. |
|
|
InstConstraintVisitor does not handle class constants. Fixes BCEL-155. |
|
|
Pass3bVerifier crashes on empty methods. Fixes BCEL-156. |
|
|
LocalVariableGen.getLocalVariable() computes incorrect length. Fixes BCEL-159. |
|
|
Method does not have a method to access parameter annotations. Fixes BCEL-164. |
|
|
ClassPath.getResource does not correctly perform URL escaping. Fixes BCEL-167. |
|
|
ClassParser fails to parse JDK classes in Java 8:
ClassFormatException: Invalid byte tag in constant pool. Fixes BCEL-173. |
|
|
Verification of interfaces with default methods fails with Java 8. Fixes BCEL-174. |
|
|
When reading the number of parameters in a MethodParameters
structure only read a single byte as per the JVM specification. Fixes BCEL-177. |
markt |
|