The Apache Commons BCEL team is pleased to announce the release of Apache Commons BCEL 6.4.0!
The Byte Code Engineering Library (BCEL) is intended to give users a convenient way to analyze, create, and manipulate compiled .class files. Classes are represented by objects containing all the symbolic information of the given class: methods, fields and byte code instructions. Feature and bug fix release. NEW FEATURES: ============= o BCEL-318: Add method org.apache.bcel.classfile.ConstantUtf8.clearCache(). Thanks to Gary Gregory. o BCEL-320: Add LruCacheClassPathRepository that can scan many JAR files without OutOfMemoryError. Thanks to Tomo Suzuki, Gary Gregory. o BCEL-322: Add constants to org.apache.bcel.Const for Java 14. Thanks to Gary Gregory. o BCEL-321: Refactor subclasses of ClassPathRepository for differences in underlying cache. Thanks to Tomo Suzuki. FIXED BUGS: =========== o BCEL-316: org.apache.bcel.classfile.Attribute class and subclasses should NOT log to the console by default. Thanks to Gary Gregory. o BCEL-278: InvokeInstruction.toString(final ConstantPool cp) throws NoSuchElementException #11. Thanks to Valery Barysoky. o BCEL-270: Calling toString(ConstantPool) on InvokeInstruction throws NullPointerException. Thanks to Alexandru-Constantin Bledea. o BCEL-323: org.apache.bcel.util.BCELifier to set major and minor versions. Thanks to Tomo Suzuki. o BCEL-326: Add missing Java 9 and Java 11 class file attributes. #33 Thanks to Mark Roberts. o BCEL-325: ClassDumper crashes on a module-info.class. #33 Thanks to Mark Roberts. o BCEL-327: Update signature scanning in Utility to support TypeParameters. #32 Thanks to Mark Roberts. CHANGES: ======== o BCEL-317: Pluggable cache for ConstantUtf8. Thanks to Tomo Suzuki, Gary Gregory. o BCEL-299: Fix example src/examples/ClassDumper.java ClassDumper.processID(). Thanks to Gary Gregory, zhangminglei. o Update tests from JNA 4.5.0 to 5.3.1. Thanks to Gary Gregory. o Update tests from JNA 5.3.1. to 5.4.0. Thanks to Gary Gregory. Historical list of changes: https://commons.apache.org/proper/commons-bcelchanges-report.html For complete information on Apache Commons BCEL, including instructions on how to submit bug reports, patches, or suggestions for improvement, see the Apache Apache Commons BCEL website: https://commons.apache.org/proper/commons-bcel Download it from https://commons.apache.org/proper/commons-bcel/download_bcel.cgi Have fun! -Apache Commons BCEL team