|
| 1 | + Apache Commons BCEL |
| 2 | + Version 6.7.0 |
| 3 | + RELEASE NOTES |
| 4 | + |
| 5 | + |
| 6 | +INTRODUCTION: |
| 7 | + |
| 8 | +The Apache Commons BCEL team is pleased to announce the release of |
| 9 | +Apache Commons BCEL 6.7.0! |
| 10 | + |
| 11 | +The Byte Code Engineering Library (BCEL) is intended to give users a convenient |
| 12 | +way to analyze, create, and manipulate compiled .class files. Classes are |
| 13 | +represented by objects containing all the symbolic information of the given |
| 14 | +class: methods, fields and byte code instructions. |
| 15 | + |
| 16 | +Maintenance and bug fix release. |
| 17 | + |
| 18 | +NEW FEATURES: |
| 19 | +============= |
| 20 | + |
| 21 | +o Add org.apache.bcel.classfile.ClassFormatException.ClassFormatException(Throwable). Thanks to Gary Gregory. |
| 22 | +o Add org.apache.bcel.classfile.JavaClass.EXTENSION. Thanks to Gary Gregory. |
| 23 | +o Add org.apache.bcel.classfile.Module.EXTENSION. Thanks to Gary Gregory. |
| 24 | +o Add org.apache.bcel.util.Args. Thanks to Gary Gregory. |
| 25 | +o Add org.apache.bcel.generic.ArrayType.getClassName(). Thanks to Gary Gregory. |
| 26 | +o Add org.apache.bcel.generic.Type.getClassName(). Thanks to Gary Gregory. |
| 27 | +o Add org.apache.bcel.classfile.Utility.packageToPath(String). Thanks to Gary Gregory. |
| 28 | +o org.apache.bcel.classfile.MethodParameter now implements org.apache.bcel.classfile.Node. Thanks to Gary Gregory, Mark Roberts. |
| 29 | +o Add org.apache.bcel.classfile.JavaClass.getSourceFilePath(). Thanks to nbauma109, Gary Gregory. |
| 30 | +o Add org.apache.bcel.generic.PUSH.PUSH(ConstantPoolGen, ArrayType). Thanks to nbauma109, Gary Gregory. |
| 31 | + |
| 32 | +FIXED BUGS: |
| 33 | +=========== |
| 34 | + |
| 35 | +o Avoid internal NPE in org.apache.bcel.util.ClassPath.getInputStream(String, String). Thanks to Gary Gregory. |
| 36 | +o InstructionConstants.ALOAD_0 value is wrong (regression from 6.6.0). Thanks to Gary Gregory. |
| 37 | +o InstructionConstants.DCONST_0 value is wrong (regression from 6.6.0). Thanks to Gary Gregory. |
| 38 | +o org.apache.bcel.classfile.Attribute constructors now throw ClassFormatException on invalid name index input. Thanks to Gary Gregory. |
| 39 | +o org.apache.bcel.classfile.CodeException constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
| 40 | +o org.apache.bcel.classfile.ConstantInvokeDynamic.ConstantInvokeDynamic(DataInput). Thanks to Gary Gregory. |
| 41 | +o org.apache.bcel.classfile.ConstantValue constructors now throw ClassFormatException on invalid length input. Thanks to Gary Gregory. |
| 42 | +o org.apache.bcel.classfile.Deprecated constructors now throw ClassFormatException on invalid length input. Thanks to Gary Gregory. |
| 43 | +o org.apache.bcel.classfile.EnclosingMethod constructors now throw ClassFormatException on invalid length, class index, or method index input. Thanks to Gary Gregory. |
| 44 | +o org.apache.bcel.classfile.ExceptionTable constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
| 45 | +o org.apache.bcel.classfile.InnerClasses constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
| 46 | +o org.apache.bcel.classfile.LineNumber constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
| 47 | +o org.apache.bcel.classfile.LocalVariable constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
| 48 | +o org.apache.bcel.classfile.LocalVariableTable constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
| 49 | +o org.apache.bcel.classfile.LocalVariableTypeTable constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
| 50 | +o org.apache.bcel.classfile.ModuleMainClass constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
| 51 | +o org.apache.bcel.classfile.ModulePackages constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
| 52 | +o org.apache.bcel.classfile.NestHost constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
| 53 | +o org.apache.bcel.classfile.NestMembers constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
| 54 | +o org.apache.bcel.classfile.Signature constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
| 55 | +o org.apache.bcel.classfile.SourceFile constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
| 56 | +o org.apache.bcel.classfile.StackMap constructors now throw ClassFormatException on invalid input. Thanks to Gary Gregory. |
| 57 | +o org.apache.bcel.classfile.StackMapEntry.StackMapEntry(DataInput, ConstantPool) reads signed instead of unsigned shorts from its DataInput. Thanks to Gary Gregory. |
| 58 | +o org.apache.bcel.classfile.StackMapType.StackMapType(DataInput, ConstantPool) reads signed instead of unsigned shorts from its DataInput. Thanks to Gary Gregory. |
| 59 | +o org.apache.bcel.classfile.Synthetic constructors now throw ClassFormatException on invalid length input. Thanks to Gary Gregory. |
| 60 | +o org.apache.bcel.util.ClassPath hashCode() and equals() don't match. Thanks to Gary Gregory. |
| 61 | +o Fix code duplication in org.apache.bcel.verifier.structurals.ExceptionHandlers.ExceptionHandlers(MethodGen). Thanks to Mark Roberts, Gary Gregory. |
| 62 | +o Improve test coverage to bcel/generic and UtilityTest #162. Thanks to Sam Ng, Gary Gregory. |
| 63 | +o Code coverage and bug fixes for bcelifier #171. Thanks to nbauma109, Gary Gregory. |
| 64 | +o Code coverage and unit tests on the verifier #166. Thanks to nbauma109, Gary Gregory. |
| 65 | +o Typo in SimpleElementValue error message #161. Thanks to nbauma109, Gary Gregory. |
| 66 | +o org.apache.bcel.classfile.Attribute constructors now throw ClassFormatException on invalid length input. Thanks to Mark Thomas, Gary Gregory. |
| 67 | +o References to constant pool entries that are not of the expected type should throw ClassFormatException, not ClassCastException. Thanks to OSS-Fuzz. |
| 68 | +o When parsing an invalid class, ensure ClassParser.parse() throws ClassFormatException, not IllegalArgumentException. Thanks to OSS-Fuzz. |
| 69 | +o org.apache.bcel.classfile.Code constructors now throw ClassFormatException on invalid input. Thanks to OSS-Fuzz. |
| 70 | +o org.apache.bcel.classfile.StackMapType constructors now throw ClassFormatException on invalid input. Thanks to OSS-Fuzz. |
| 71 | +o 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. |
| 72 | +o Tests and coverage for Utility class #175. Thanks to nbauma109. |
| 73 | +o Unit tests and coverage for binary operations #174. Thanks to nbauma109. |
| 74 | +o Fix possible NullPointerException in org.apache.bcel.classfile.StackMap.setStackMap(StackMapEntry[]). Thanks to Gary Gregory. |
| 75 | + |
| 76 | +CHANGES: |
| 77 | +======== |
| 78 | + |
| 79 | +o Bump spotbugs-maven-plugin from 4.7.2.2 to 4.7.3.0 #167. Thanks to Gary Gregory. |
| 80 | +o Bump jmh.version from 1.35 to 1.36 #170. Thanks to Dependabot. |
| 81 | +o Bump pmd from 6.51.0 to 6.52.0. Thanks to Gary Gregory. |
| 82 | +o Bump japicmp from 0.16.0 to 0.17.1. Thanks to Gary Gregory. |
| 83 | + |
| 84 | + |
| 85 | +Historical list of changes: https://commons.apache.org/proper/commons-bcelchanges-report.html |
| 86 | + |
| 87 | +For complete information on Apache Commons BCEL, including instructions on how to submit bug reports, |
| 88 | +patches, or suggestions for improvement, see the Apache Apache Commons BCEL website: |
| 89 | + |
| 90 | +https://commons.apache.org/proper/commons-bcel |
| 91 | + |
| 92 | +Download it from https://commons.apache.org/proper/commons-bcel/download_bcel.cgi |
| 93 | + |
| 94 | +Have fun! |
| 95 | +-Apache Commons BCEL team |
| 96 | + |
| 97 | +Feedback |
| 98 | +-------- |
| 99 | + |
| 100 | +Open source works best when you give feedback: |
| 101 | + |
| 102 | + https://commons.apache.org/bcel |
| 103 | + |
| 104 | +Please direct all bug reports to JIRA: |
| 105 | + |
| 106 | + https://issues.apache.org/jira/browse/BCEL |
| 107 | + |
| 108 | +Or subscribe to the commons-user mailing list |
| 109 | + |
| 110 | +The Apache Commons Team |
| 111 | + |
| 112 | +----------------------------------------------------------------------------- |
| 113 | + |
1 | 114 | Apache Commons BCEL |
2 | 115 | Version 6.6.1 |
3 | 116 | RELEASE NOTES |
|
6 | 119 | INTRODUCTION: |
7 | 120 |
|
8 | 121 | The Apache Commons BCEL team is pleased to announce the release of |
9 | | -Apache Commons BCEL 6.6.1-SNAPSHOT! |
| 122 | +Apache Commons BCEL 6.6.1! |
10 | 123 |
|
11 | 124 | The Byte Code Engineering Library (BCEL) is intended to give users a convenient |
12 | 125 | way to analyze, create, and manipulate compiled .class files. Classes are |
|
0 commit comments