This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
The following commit(s) were added to refs/heads/master by this push:
new 0df5c296 Prepare for the next release candidate
0df5c296 is described below
commit 0df5c296d59ce40d091ddf607fc23973fbc23a93
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Jan 18 22:23:17 2026 +0000
Prepare for the next release candidate
---
CONTRIBUTING.md | 1 -
README.md | 7 ++--
RELEASE-NOTES.txt | 75 +++++++++++++++++++++++++++++++++++++++++
src/changes/changes.xml | 2 +-
src/site/xdoc/download_bcel.xml | 26 +++++++-------
5 files changed, 92 insertions(+), 19 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index fe48fcfb..eddcd973 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -110,7 +110,6 @@ Additional Resources
+ [Contributor License Agreement][cla]
+ [General GitHub documentation](https://help.github.com/)
+ [GitHub pull request
documentation](https://help.github.com/articles/creating-a-pull-request/)
-+ [Apache Commons Twitter Account](https://twitter.com/ApacheCommons)
[cla]:https://www.apache.org/licenses/#clas
[jira]:https://issues.apache.org/jira/browse/BCEL
diff --git a/README.md b/README.md
index 2a2924bb..33798d63 100644
--- a/README.md
+++ b/README.md
@@ -45,11 +45,11 @@ Apache Commons BCEL
[](https://github.com/apache/commons-bcel/actions/workflows/maven.yml)
[](https://search.maven.org/artifact/org.apache.bcel/bcel)
-[](https://javadoc.io/doc/org.apache.bcel/bcel/6.11.0)
+[](https://javadoc.io/doc/org.apache.bcel/bcel/6.12.0)
[](https://github.com/apache/commons-bcel/actions/workflows/codeql-analysis.yml)
[](https://api.securityscorecards.dev/projects/github.com/apache/commons-bcel)
-Apache Commons Bytecode Engineering Library
+The Commons Byte Code Engineering Library (BCEL) is designed to provide users
with a convenient way to analyze, create, and manipulate compiled .class files.
Documentation
-------------
@@ -68,7 +68,7 @@ Alternatively, you can pull it from the central Maven
repositories:
<dependency>
<groupId>org.apache.bcel</groupId>
<artifactId>bcel</artifactId>
- <version>6.11.0</version>
+ <version>6.12.0</version>
</dependency>
```
@@ -111,7 +111,6 @@ Additional Resources
+ [Apache Commons Homepage](https://commons.apache.org/)
+ [Apache Issue Tracker (JIRA)](https://issues.apache.org/jira/browse/BCEL)
+ [Apache Commons Slack Channel](https://the-asf.slack.com/archives/C60NVB8AD)
-+ [Apache Commons Twitter Account](https://twitter.com/ApacheCommons)
Apache Commons Components
-------------------------
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index 10b84d32..62c76942 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -1,3 +1,78 @@
+Apache Commons BCEL Version 6.12.0
+RELEASE NOTES
+
+
+Introduction
+------------
+The Apache Commons BCEL team is pleased to announce the release of
+Apache Commons BCEL 6.12.0.
+
+The Commons Byte Code Engineering Library (BCEL) is designed to provide users
with a convenient way to analyze, create, and manipulate compiled .class files.
+
+This is a feature and maintenance release. Java 8 or later is required.
+
+New Features
+------------
+* Add Const.MAJOR_26. Thanks to Gary Gregory.
+* Add Const.MINOR_26. Thanks to Gary Gregory.
+
+Fixed Bugs
+----------
+* Fix infinite loop in example.TransitiveHull #476. Thanks to
fmantz, Gary Gregory.
+* Fix Apache RAT plugin console warnings. Thanks to Gary Gregory.
+* Fix malformed Javadoc comments. Thanks to Gary Gregory.
+* Make the build reproducible on the Azul JDK. Thanks to Gary
Gregory.
+* Fix infinite loop in JavaClass.findField() on invalid input.
Thanks to Gary Gregory, Pavel Kohout.
+* Fix infinite loop in JavaClass.getAllInterfaces() on invalid
input. Thanks to Gary Gregory, Pavel Kohout.
+* Fix infinite loop in JavaClass.getSuperClasses() on invalid input.
Thanks to Gary Gregory, Pavel Kohout.
+* Exception message in Args.requireU4() refers to the wrong data
type. Thanks to Gary Gregory.
+* Exception message in Args.requireU2() refers to the wrong upper
range value. Thanks to Gary Gregory.
+* Code.Code(int, int, DataInput, ConstantPool) now throws a
ClassFormatException if the code array is greater than the JVM specification
allows. Thanks to Gary Gregory, Stanislav Fort.
+* Code.Code(int, int, int, int, byte[], CodeException[],
Attribute[], ConstantPool) now throws a ClassFormatException if the code array
is greater than the JVM specification allows. Thanks to Gary Gregory, Stanislav
Fort.
+* Code.setCode(byte[]) now throws a ClassFormatException if the code
array is greater than the JVM specification allows. Thanks to Gary Gregory.
+* ClassDumper.dump() should not call the input stream it didn't
open; fixes IOException when calling DumpClass.main(ClassDumper.java:351).
Thanks to Gary Gregory.
+* org.apache.bcel.classfile.ConstantPool.ConstantPool(Constant[])
now uses varagrs: ConstantPool(Constant...). Thanks to Gary Gregory.
+* org.apache.bcel.classfile.Deprecated now requires its the
attribute_length item be zero; see
https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-4.html#jvms-4.7.15.
Thanks to Gary Gregory.
+* org.apache.bcel.classfile.Synthetic now requires its the
attribute_length item be zero; see
https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-4.html#jvms-4.7.8.
Thanks to Gary Gregory.
+* The size of an Attribute unknown to the JVM specification is
limited to 1 MB and is overridden with the system property
BCEL.Attribute.Unknown.max_attribute_length; see
https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-4.html#jvms-4.7.
Thanks to Gary Gregory, Stanislav Fort.
+
+Changes
+-------
+* Bump org.apache.commons:commons-parent from 89 to 95 #482. Thanks
to Gary Gregory.
+* [test] Bump org.jetbrains.kotlin:kotlin-stdlib from 2.2.20 to
2.3.0 #481. Thanks to Gary Gregory.
+* Bump commons-io:commons-io from 2.20.0 to 2.21.0. Thanks to Gary
Gregory.
+* Bump commons-lang3 from 3.19.0 to 3.20.0. Thanks to Gary Gregory.
+* [test] Bump org.apache.commons:commons-exec from 1.5.0 to 1.6.0.
Thanks to Gary Gregory.
+
+
+Historical list of changes:
https://commons.apache.org/proper/commons-bcel/changes.html
+
+For complete information on Apache Commons BCEL, including instructions on how
to submit bug reports,
+patches, or suggestions for improvement, see the 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
+
+Feedback
+--------
+Open source works best when you give feedback:
+
+ https://commons.apache.org/bcel
+
+Please direct all bug reports to JIRA:
+
+ https://issues.apache.org/jira/browse/BCEL
+
+Or subscribe to the commons-user mailing list
+
+The Apache Commons Team
+
+-----------------------------------------------------------------------------
+
Apache Commons BCEL Version 6.11.0
RELEASE NOTES
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 886ad852..e604e9e8 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -59,7 +59,7 @@ The <action> type attribute can be add,update,fix,remove.
Defining changes.version allows one to create the RN without first removing
the SNAPSHOT suffix.
-->
<body>
- <release version="6.12.0" date="YYYY-MM-DD" description="This is a feature
and maintenance release. Java 8 or later is required.">
+ <release version="6.12.0" date="2026-01-18" description="This is a feature
and maintenance release. Java 8 or later is required.">
<!-- FIX -->
<action type="fix" dev="ggregory" due-to="fmantz, Gary
Gregory">Fix infinite loop in example.TransitiveHull #476.</action>
<action type="fix" dev="ggregory" due-to="Gary
Gregory">Fix Apache RAT plugin console warnings.</action>
diff --git a/src/site/xdoc/download_bcel.xml b/src/site/xdoc/download_bcel.xml
index 8a7bff32..5c49f42c 100644
--- a/src/site/xdoc/download_bcel.xml
+++ b/src/site/xdoc/download_bcel.xml
@@ -115,32 +115,32 @@ limitations under the License.
</p>
</subsection>
</section>
- <section name="Apache Commons BCEL 6.11.0 (Java 8 or above)">
+ <section name="Apache Commons BCEL 6.12.0 (Java 8 or above)">
<subsection name="Binaries">
<table>
<tr>
- <td><a
href="[preferred]/commons/bcel/binaries/bcel-6.11.0-bin.tar.gz">bcel-6.11.0-bin.tar.gz</a></td>
- <td><a
href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.11.0-bin.tar.gz.sha512">sha512</a></td>
- <td><a
href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.11.0-bin.tar.gz.asc">pgp</a></td>
+ <td><a
href="[preferred]/commons/bcel/binaries/bcel-6.12.0-bin.tar.gz">bcel-6.12.0-bin.tar.gz</a></td>
+ <td><a
href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.12.0-bin.tar.gz.sha512">sha512</a></td>
+ <td><a
href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.12.0-bin.tar.gz.asc">pgp</a></td>
</tr>
<tr>
- <td><a
href="[preferred]/commons/bcel/binaries/bcel-6.11.0-bin.zip">bcel-6.11.0-bin.zip</a></td>
- <td><a
href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.11.0-bin.zip.sha512">sha512</a></td>
- <td><a
href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.11.0-bin.zip.asc">pgp</a></td>
+ <td><a
href="[preferred]/commons/bcel/binaries/bcel-6.12.0-bin.zip">bcel-6.12.0-bin.zip</a></td>
+ <td><a
href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.12.0-bin.zip.sha512">sha512</a></td>
+ <td><a
href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.12.0-bin.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>
<subsection name="Source">
<table>
<tr>
- <td><a
href="[preferred]/commons/bcel/source/bcel-6.11.0-src.tar.gz">bcel-6.11.0-src.tar.gz</a></td>
- <td><a
href="https://downloads.apache.org/commons/bcel/source/bcel-6.11.0-src.tar.gz.sha512">sha512</a></td>
- <td><a
href="https://downloads.apache.org/commons/bcel/source/bcel-6.11.0-src.tar.gz.asc">pgp</a></td>
+ <td><a
href="[preferred]/commons/bcel/source/bcel-6.12.0-src.tar.gz">bcel-6.12.0-src.tar.gz</a></td>
+ <td><a
href="https://downloads.apache.org/commons/bcel/source/bcel-6.12.0-src.tar.gz.sha512">sha512</a></td>
+ <td><a
href="https://downloads.apache.org/commons/bcel/source/bcel-6.12.0-src.tar.gz.asc">pgp</a></td>
</tr>
<tr>
- <td><a
href="[preferred]/commons/bcel/source/bcel-6.11.0-src.zip">bcel-6.11.0-src.zip</a></td>
- <td><a
href="https://downloads.apache.org/commons/bcel/source/bcel-6.11.0-src.zip.sha512">sha512</a></td>
- <td><a
href="https://downloads.apache.org/commons/bcel/source/bcel-6.11.0-src.zip.asc">pgp</a></td>
+ <td><a
href="[preferred]/commons/bcel/source/bcel-6.12.0-src.zip">bcel-6.12.0-src.zip</a></td>
+ <td><a
href="https://downloads.apache.org/commons/bcel/source/bcel-6.12.0-src.zip.sha512">sha512</a></td>
+ <td><a
href="https://downloads.apache.org/commons/bcel/source/bcel-6.12.0-src.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>