This is an automated email from the ASF dual-hosted git repository.
garydgregory 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 151a05e7 Prepare for the release candidate
151a05e7 is described below
commit 151a05e711af6a0f1fa0edc24c9d631f90cf42c5
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Nov 7 18:23:06 2026 +0000
Prepare for the release candidate
---
CONTRIBUTING.md | 20 +++++------
README.md | 10 +++---
RELEASE-NOTES.txt | 75 ++++++++++++++++++++++++++++++++++++++++
src/changes/changes.xml | 2 +-
src/site/xdoc/download_bcel.xml | 28 +++++++--------
src/site/xdoc/issue-tracking.xml | 12 +++----
6 files changed, 111 insertions(+), 36 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 86cfbe8f..fd0d846f 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -41,17 +41,17 @@
Contributing to Apache Commons BCEL
======================
-Have you found a bug or have an idea for a cool new feature? Contributing code
is a great way to give something back to the open-source community.
-Before you dig right into the code, we need contributors to follow a few
guidelines to have a chance of keeping on top of things.
+Have you found a bug, or do you have an idea for a cool new feature?
Contributing code is a great way to give something back to the open-source
community.
+Before you dig right into the code, please review these guidelines to help us
manage contributions.
Getting Started
---------------
+ Make sure you have a [JIRA account](https://issues.apache.org/jira/).
-+ Make sure you have a [GitHub account](https://github.com/signup). This is
not essential, but makes providing patches much easier.
-+ If you're planning to implement a new feature it makes sense to discuss your
changes on the [dev list](https://commons.apache.org/mail-lists.html) first.
This way you can make sure you're not wasting your time on something that isn't
considered to be in Apache Commons BCEL's scope.
++ Make sure you have a [GitHub account](https://github.com/signup). This is
not essential, but it makes providing patches much easier.
++ If you're planning to implement a new feature, it makes sense to discuss
your changes on the [dev list](https://commons.apache.org/mail-lists.html)
first. This way you can make sure you're not wasting your time on something
that isn't considered to be in Apache Commons BCEL's scope.
+ Submit a [Jira Ticket][jira] for your issue, assuming one does not already
exist.
- + Clearly describe the issue including steps to reproduce when it is a bug.
+ + Clearly describe the issue, including steps to reproduce it if it is a bug.
+ Make sure you fill in the earliest version that you know has the issue.
+ Find the corresponding [repository on
GitHub](https://github.com/apache/?query=commons-),
[fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo)
and check out your forked repository. If you don't have a GitHub account, you
can still clone the Commons repository.
@@ -60,16 +60,16 @@ Making Changes
--------------
+ Create a _topic branch_ for your isolated work.
- * Usually you should base your branch from the `master` branch.
- * A good topic branch name can be the JIRA bug ID plus a keyword, for
example `BCEL-123-InputStream`.
+ * Usually, you should base your branch on the `master` branch.
+ * A good topic branch name can be the JIRA bug ID plus a keyword, for
example, `BCEL-123-InputStream`.
* If you have submitted multiple JIRA issues, try to maintain separate
branches and pull requests.
+ Make commits of logical units.
* Make sure your commit messages are meaningful and in the proper format.
Your commit message should contain the key of the JIRA issue.
* For example, `[BCEL-123] Close input stream sooner`
+ Respect the original code style:
+ Only use spaces for indentation; you can check for unnecessary whitespace
with `git diff` before committing.
- + Create minimal diffs - disable _On Save_ actions like _Reformat Source
Code_ or _Organize Imports_. If you feel the source code should be reformatted
create a separate PR for this change first.
-+ Write unit tests that match behavioral changes, where the tests fail if the
changes to the runtime are not applied. This may not always be possible but is
a best practice.
+ + Create minimal diffs: disable _On Save_ actions like _Reformat Source
Code_ or _Organize Imports_. If you feel the source code should be reformatted,
create a separate PR for this change first.
++ Write unit tests that match behavioral changes, where the tests fail if the
changes to the runtime are not applied. This may not always be possible, but it
is a best practice.
Unit tests are typically in the `src/test/java` directory.
+ Run a successful build using the default [Maven](https://maven.apache.org/)
goal with `mvn`; that's `mvn` on the command line by itself.
+ Write a pull request description that is detailed enough to understand what
the pull request does, how, and why.
@@ -95,7 +95,7 @@ Submitting Changes
+ Push your changes to a topic branch in your fork of the repository.
+ Submit a _Pull Request_ to the corresponding repository in the `apache`
organization.
* Verify _Files Changed_ shows only your intended changes and does not
- include additional files like `target/*.class`
+ include additional files like `target/*.class`.
+ Update your JIRA ticket and include a link to the pull request in the ticket.
If you prefer to not use GitHub, then you can instead use
diff --git a/README.md b/README.md
index 5d09fe0a..4374f04c 100644
--- a/README.md
+++ b/README.md
@@ -45,9 +45,9 @@ 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.13.0)
+[](https://javadoc.io/doc/org.apache.bcel/bcel/6.14.0)
[](https://github.com/apache/commons-bcel/actions/workflows/codeql-analysis.yml)
-[](https://api.securityscorecards.dev/projects/github.com/apache/commons-bcel)
+[](https://scorecard.dev/viewer/?uri=github.com/apache/commons-bcel)
The Commons Byte Code Engineering Library (BCEL) is designed to provide users
with a convenient way to analyze, create, and manipulate compiled .class files.
@@ -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.13.0</version>
+ <version>6.14.0</version>
</dependency>
```
@@ -83,11 +83,11 @@ From a command shell, run `mvn` without arguments to invoke
the default Maven go
Contributing
------------
-We accept Pull Requests via GitHub. The [developer mailing
list](https://commons.apache.org/mail-lists.html) is the main channel of
communication for contributors.
+We accept pull requests via GitHub. The [developer mailing
list](https://commons.apache.org/mail-lists.html) is the main channel of
communication for contributors.
There are some guidelines which will make applying PRs easier for us:
+ No tabs! Please use spaces for indentation.
+ Respect the existing code style for each file.
-+ Create minimal diffs - disable on save actions like reformat source code or
organize imports. If you feel the source code should be reformatted create a
separate PR for this change.
++ Create minimal diffs: disable on-save actions like reformatting source code
or organizing imports. If you feel the source code should be reformatted,
create a separate PR for this change.
+ Provide JUnit tests for your changes and make sure your changes don't break
any existing tests by running `mvn`.
+ Before you push a PR, run `mvn` (without arguments). This runs the default
goal which contains all build checks.
+ To see the code coverage report, regardless of coverage failures, run `mvn
clean site -Dcommons.jacoco.haltOnFailure=false -Pjacoco`
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index d349bcaf..933ab0cb 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -1,3 +1,78 @@
+Apache Commons BCEL Version 6.14.0
+RELEASE NOTES
+
+
+Introduction
+------------
+The Apache Commons BCEL team is pleased to announce the release of
+Apache Commons BCEL 6.14.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 and use ClassFormatException.ClassFormatException(String,
Object...). Thanks to Gary Gregory.
+* Add support for the RuntimeVisibleTypeAnnotations and
RuntimeInvisibleTypeAnnotations attributes. Thanks to Nicolas Baumann, Gary
Gregory.
+* Add ObjectType.toString(). Thanks to Gary Gregory.
+
+Fixed Bugs
+----------
+* Use modern Mockito on Java 11+ (#528). Thanks to Gary Gregory.
+* BCEL-280: MethodGen.setMaxLocals() should account for LocalVariableTable
entries (#529). Thanks to Max Kammerer, akashchamp, Gary Gregory.
+* Fix constant pool module access test on Java 27 (#534). Thanks to
Gary Gregory.
+* BCEL-379: BCELifier emits boolean literals for boolean ConstantValue fields
so generated creator classes run. FieldGen preserves explicit false initial
values (#536). Thanks to Gary Gregory, Aryan Ganjoo.
+* Update ECJ versions and generate the SWAP fixture with BCEL
(#537). Thanks to Gary Gregory.
+* Fix typo 'preceeding' in ConstantPool exception message (#541).
Thanks to Mohd Irshad.
+* Clean up comments for spelling, grammar, and readability. Thanks
to Gary Gregory.
+* BCEL-341: Support explicit parsing and generation of compact Code headers in
class file versions 45.0 through 45.2 (#58). Thanks to Gary Gregory, Hippo.
+* Fix module descriptor rendering in StringRepresentation (#543).
Thanks to Gary Gregory, simpleqt.
+* Fix NestHost rendering in StringRepresentation to prevent internal
errors when verifying nest members. Thanks to Gary Gregory.
+* Fix MethodParameter rendering in StringRepresentation. Thanks to
Gary Gregory.
+* Fix StackMapType rendering in StringRepresentation. Thanks to Gary
Gregory.
+* Fix verification of signature polymorphic MethodHandle and
VarHandle calls. Thanks to Gary Gregory.
+
+Changes
+-------
+* Bump org.apache.commons:commons-parent from 104 to 107. Thanks to
Gary Gregory.
+* Bump org.apache.commons:commons-lang3 from 3.20.0 to 3.21.0 #531.
Thanks to Gary Gregory.
+* Bump ecj.version from 3.26 to 3.46.100 on Java 17 and up (#537).
Thanks to Gary Gregory.
+* Bump ecj.version from 3.26 to 3.33 on Java 11 (#537). Thanks to
Gary Gregory.
+* Bump org.jetbrains.kotlin:kotlin-stdlib from 2.4.0 to 2.4.21
(#532). Thanks to Gary Gregory, Dependabot.
+
+Removed
+-------
+* BCEL-280: Remove obsolete class file src/examples/Mini/MiniParser$JJCalls.
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.13.0
RELEASE NOTES
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index bd0b6b91..ac21fa9b 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.14.0" date="YYYY-MM-DD" description="This is a feature
and maintenance release. Java 8 or later is required.">
+ <release version="6.14.0" date="2026-11-07" description="This is a feature
and maintenance release. Java 8 or later is required.">
<!-- FIX -->
<action type="fix" dev="ggregory" due-to="Gary
Gregory">Use modern Mockito on Java 11+ (#528).</action>
<action issue="BCEL-280" type="fix" dev="ggregory" due-to="Max Kammerer,
akashchamp, Gary Gregory">MethodGen.setMaxLocals() should account for
LocalVariableTable entries (#529).</action>
diff --git a/src/site/xdoc/download_bcel.xml b/src/site/xdoc/download_bcel.xml
index 75ccc219..1f8accc5 100644
--- a/src/site/xdoc/download_bcel.xml
+++ b/src/site/xdoc/download_bcel.xml
@@ -106,7 +106,7 @@ limitations under the License.
It is essential that you
<a href="https://www.apache.org/info/verification.html">verify the
integrity</a>
of downloaded files, preferably using the <code>PGP</code> signature
(<code>*.asc</code> files);
- failing that using the <code>SHA512</code> hash (<code>*.sha512</code>
checksum files).
+ failing that, using the <code>SHA512</code> hash
(<code>*.sha512</code> checksum files).
</p>
<p>
The <a href="https://downloads.apache.org/commons/KEYS">KEYS</a>
@@ -115,32 +115,32 @@ limitations under the License.
</p>
</subsection>
</section>
- <section name="Apache Commons BCEL 6.13.0 (Java 8 or above)">
+ <section name="Apache Commons BCEL 6.14.0 (Java 8 or above)">
<subsection name="Binaries">
<table>
<tr>
- <td><a
href="[preferred]/commons/bcel/binaries/bcel-6.13.0-bin.tar.gz">bcel-6.13.0-bin.tar.gz</a></td>
- <td><a
href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.13.0-bin.tar.gz.sha512">sha512</a></td>
- <td><a
href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.13.0-bin.tar.gz.asc">pgp</a></td>
+ <td><a
href="[preferred]/commons/bcel/binaries/bcel-6.14.0-bin.tar.gz">bcel-6.14.0-bin.tar.gz</a></td>
+ <td><a
href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.14.0-bin.tar.gz.sha512">sha512</a></td>
+ <td><a
href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.14.0-bin.tar.gz.asc">pgp</a></td>
</tr>
<tr>
- <td><a
href="[preferred]/commons/bcel/binaries/bcel-6.13.0-bin.zip">bcel-6.13.0-bin.zip</a></td>
- <td><a
href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.13.0-bin.zip.sha512">sha512</a></td>
- <td><a
href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.13.0-bin.zip.asc">pgp</a></td>
+ <td><a
href="[preferred]/commons/bcel/binaries/bcel-6.14.0-bin.zip">bcel-6.14.0-bin.zip</a></td>
+ <td><a
href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.14.0-bin.zip.sha512">sha512</a></td>
+ <td><a
href="https://downloads.apache.org/commons/bcel/binaries/bcel-6.14.0-bin.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>
<subsection name="Source">
<table>
<tr>
- <td><a
href="[preferred]/commons/bcel/source/bcel-6.13.0-src.tar.gz">bcel-6.13.0-src.tar.gz</a></td>
- <td><a
href="https://downloads.apache.org/commons/bcel/source/bcel-6.13.0-src.tar.gz.sha512">sha512</a></td>
- <td><a
href="https://downloads.apache.org/commons/bcel/source/bcel-6.13.0-src.tar.gz.asc">pgp</a></td>
+ <td><a
href="[preferred]/commons/bcel/source/bcel-6.14.0-src.tar.gz">bcel-6.14.0-src.tar.gz</a></td>
+ <td><a
href="https://downloads.apache.org/commons/bcel/source/bcel-6.14.0-src.tar.gz.sha512">sha512</a></td>
+ <td><a
href="https://downloads.apache.org/commons/bcel/source/bcel-6.14.0-src.tar.gz.asc">pgp</a></td>
</tr>
<tr>
- <td><a
href="[preferred]/commons/bcel/source/bcel-6.13.0-src.zip">bcel-6.13.0-src.zip</a></td>
- <td><a
href="https://downloads.apache.org/commons/bcel/source/bcel-6.13.0-src.zip.sha512">sha512</a></td>
- <td><a
href="https://downloads.apache.org/commons/bcel/source/bcel-6.13.0-src.zip.asc">pgp</a></td>
+ <td><a
href="[preferred]/commons/bcel/source/bcel-6.14.0-src.zip">bcel-6.14.0-src.zip</a></td>
+ <td><a
href="https://downloads.apache.org/commons/bcel/source/bcel-6.14.0-src.zip.sha512">sha512</a></td>
+ <td><a
href="https://downloads.apache.org/commons/bcel/source/bcel-6.14.0-src.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>
diff --git a/src/site/xdoc/issue-tracking.xml b/src/site/xdoc/issue-tracking.xml
index 1991e70e..d91af88e 100644
--- a/src/site/xdoc/issue-tracking.xml
+++ b/src/site/xdoc/issue-tracking.xml
@@ -57,19 +57,19 @@ limitations under the License.
</p>
<p>
- To use JIRA you may need to <a
href="https://issues.apache.org/jira/secure/Signup!default.jspa">create an
account</a>
- (if you have previously created/updated Commons issues using Bugzilla an
account will have been automatically
+ To use JIRA, you may need to <a
href="https://issues.apache.org/jira/secure/Signup!default.jspa">create an
account</a>
+ (if you have previously created or updated Commons issues using
Bugzilla, an account will have been automatically
created and you can use the <a
href="https://issues.apache.org/jira/secure/ForgotPassword!default.jspa">Forgot
Password</a>
page to get a new password).
</p>
<p>
- If you would like to report a bug, or raise an enhancement request with
- Apache Commons BCEL please do the following:
+ If you would like to report a bug or request an enhancement for
+ Apache Commons BCEL, please do the following:
</p>
<ol>
<li><a
href="https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&pid=12314220&sorter/field=issuekey&sorter/order=DESC&status=1&status=3&status=4">Search
existing open bugs</a>.
- If you find your issue listed then please add a comment with your
details.</li>
+ If you find your issue listed, then please add a comment with your
details.</li>
<li><a href="mail-lists.html">Search the mailing list archive(s)</a>.
You may find your issue or idea has already been discussed.</li>
<li>Decide if your issue is a bug or an enhancement.</li>
@@ -87,7 +87,7 @@ limitations under the License.
</ul>
<p>
- For more information on creating patches see the
+ For more information on creating patches, see the
<a href="https://www.apache.org/dev/contributors.html">Apache
Contributors Guide</a>.
</p>