Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
10e7235
Bump to next development version
garydgregory Jan 11, 2024
db8442e
Add slot for the next release
garydgregory Jan 11, 2024
fdb4ddb
Update properties for the next version
garydgregory Jan 11, 2024
186706a
Bump actions/upload-artifact from 4.0.0 to 4.1.0 (#258)
dependabot[bot] Jan 12, 2024
8a6aa4b
Bump actions/cache from 3.3.2 to 3.3.3 (#259)
dependabot[bot] Jan 12, 2024
2c1f472
Bump github/codeql-action from 3.22.12 to 3.23.0 (#257)
dependabot[bot] Jan 12, 2024
2d42221
Javadoc: Use an HTTPS URL
garydgregory Jan 14, 2024
afa15ea
Use +=
garydgregory Jan 15, 2024
6b4b6ed
Use &=
garydgregory Jan 15, 2024
fdae282
Bump actions/upload-artifact from 4.1.0 to 4.2.0 (#261)
dependabot[bot] Jan 19, 2024
6a476ca
Bump actions/cache from 3.3.3 to 4.0.0 (#263)
dependabot[bot] Jan 19, 2024
03bad48
Bump github/codeql-action from 3.23.0 to 3.23.1 (#262)
dependabot[bot] Jan 19, 2024
f15e858
Normalize end of comments
garydgregory Jan 20, 2024
e2e881e
Bump github/codeql-action from 3.23.1 to 3.23.2 (#264)
dependabot[bot] Jan 26, 2024
3c096ec
Bump actions/upload-artifact from 4.2.0 to 4.3.0 (#266)
dependabot[bot] Jan 26, 2024
b9902e8
Bump codecov/codecov-action from 3.1.4 to 3.1.5 (#265)
dependabot[bot] Jan 26, 2024
228f90e
Bump org.assertj:assertj-core from 3.25.1 to 3.25.2 (#268)
dependabot[bot] Jan 26, 2024
19340b1
Bump org.assertj:assertj-core from 3.25.1 to 3.25.2 #268
garydgregory Jan 26, 2024
3b65a4a
Bump GitHub various actions for CI builds
garydgregory Jan 26, 2024
f32c53c
Add missing XML Schema reference
garydgregory Jan 28, 2024
496a8d4
Bump org.apache.commons:commons-parent from 65 to 66
garydgregory Feb 1, 2024
48ca586
Bump codecov/codecov-action from 3.1.5 to 4.0.1 (#270)
dependabot[bot] Feb 2, 2024
c0c5531
Bump github/codeql-action from 3.23.2 to 3.24.0 (#271)
dependabot[bot] Feb 2, 2024
0dbe4df
Group property with similar
garydgregory Feb 3, 2024
8fbf942
Add Maven property project.build.outputTimestamp for build
garydgregory Feb 3, 2024
e1e5f5e
Remove variable assignment just before returning it
garydgregory Feb 4, 2024
b381bea
Use StringBuilder
garydgregory Feb 4, 2024
ca9d55d
Bump org.assertj:assertj-core from 3.25.2 to 3.25.3 (#272)
dependabot[bot] Feb 9, 2024
e144e4c
Bump actions/upload-artifact from 4.3.0 to 4.3.1 (#273)
dependabot[bot] Feb 9, 2024
01fd7ec
Bump github/codeql-action from 3.24.0 to 3.24.3 (#274)
dependabot[bot] Feb 16, 2024
767ea9f
Fix concurrent map access exception (#275)
gnodet Feb 20, 2024
51254ed
Fix ConcurrentModificationException in org.apache.bcel.util.Synthetic…
garydgregory Feb 20, 2024
d6e29d1
Whitespace
garydgregory Feb 20, 2024
e7cfca2
Prepare release candidate
garydgregory Feb 21, 2024
749d99c
Prepare release candidate
garydgregory Feb 21, 2024
ee9a258
Bump codecov/codecov-action from 4.0.1 to 4.0.2 (#277)
dependabot[bot] Feb 23, 2024
3d9d563
Bump github/codeql-action from 3.24.3 to 3.24.5 (#276)
dependabot[bot] Feb 23, 2024
559b880
Bump to next development version
garydgregory Feb 25, 2024
2927c7d
Merge branch 'release'
garydgregory Feb 25, 2024
57ae210
Add section for the next release
garydgregory Feb 27, 2024
0eeb431
Update RELEASE-NOTES.txt
garydgregory Feb 27, 2024
b10aee4
Update release-notes.vm
garydgregory Feb 27, 2024
18c39f0
Bump actions/setup-java from 4.0.0 to 4.1.0 (#279)
dependabot[bot] Mar 1, 2024
7aa0026
Bump codecov/codecov-action from 4.0.2 to 4.1.0 (#282)
dependabot[bot] Mar 1, 2024
acbbd01
Bump github/codeql-action from 3.24.5 to 3.24.6 (#281)
dependabot[bot] Mar 1, 2024
a8ec234
Bump actions/cache from 4.0.0 to 4.0.1 (#280)
dependabot[bot] Mar 1, 2024
b310fcc
Use final
garydgregory Mar 5, 2024
4e3c784
Bump org.apache.commons:commons-parent from 66 to 67 (#283)
dependabot[bot] Mar 6, 2024
5d2ddc4
Bump org.apache.commons:commons-parent from 66 to 67 #283
garydgregory Mar 6, 2024
e84df96
Bump org.jetbrains.kotlin:kotlin-stdlib from 1.9.22 to 1.9.23 (#284)
dependabot[bot] Mar 8, 2024
f571874
Bump org.jetbrains.kotlin:kotlin-stdlib from 1.9.22 to 1.9.23 #284
garydgregory Mar 8, 2024
37411f3
Bump github/codeql-action from 3.24.6 to 3.24.7 (#286)
dependabot[bot] Mar 15, 2024
77f1ff9
Bump actions/setup-java from 4.1.0 to 4.2.1 (#287)
dependabot[bot] Mar 15, 2024
9c026fe
Bump actions/checkout from 4.1.1 to 4.1.2 (#285)
dependabot[bot] Mar 15, 2024
c152e93
Checkstyle: Don't allow trailing whitespace
garydgregory Mar 19, 2024
6fc2885
Use Java 5's String#contains()
garydgregory Mar 22, 2024
0f1ffca
Bump github/codeql-action from 3.24.7 to 3.24.9 (#291)
dependabot[bot] Mar 22, 2024
202be39
Bump actions/cache from 4.0.1 to 4.0.2 (#292)
dependabot[bot] Mar 22, 2024
96fe4f9
Use better JUnit API
garydgregory Mar 22, 2024
9e4e369
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-…
garydgregory Mar 22, 2024
f731ed1
Checkstyle test fixes
garydgregory Mar 23, 2024
7adeae9
Checkstyle test fixes
garydgregory Mar 23, 2024
4ae577c
Merge branch 'master' of
garydgregory Mar 23, 2024
13e7e0f
Bump commons-io:commons-io from 2.15.1 to 2.16.0 (#295)
dependabot[bot] Mar 28, 2024
35c80a0
Bump commons-io:commons-io from 2.15.1 to 2.16.0 #295
garydgregory Mar 28, 2024
f75f5f9
Bump codecov/codecov-action from 4.1.0 to 4.1.1 (#296)
dependabot[bot] Mar 29, 2024
8925b2e
Don't disable doclint
garydgregory Mar 31, 2024
b966237
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-…
garydgregory Mar 31, 2024
1cf711d
Format tweaks
garydgregory Mar 31, 2024
67ba0d8
Better parameter name
garydgregory Mar 31, 2024
4cd1637
Reuse ArrayUtils.nullToEmpty()
garydgregory Mar 31, 2024
34d0a3d
Normalize package private name
garydgregory Mar 31, 2024
bf5e78d
Reuse public constant
garydgregory Mar 31, 2024
8ada59f
Normalize package private name
garydgregory Mar 31, 2024
80cc367
Reuse public constant
garydgregory Mar 31, 2024
dfa1e7e
Normalize package private name
garydgregory Mar 31, 2024
d27cc6f
Avoid possible NullPointerException in
garydgregory Mar 31, 2024
18690de
Avoid possible NullPointerException in
garydgregory Apr 1, 2024
e82c816
Avoid possible NullPointerException in
garydgregory Apr 1, 2024
ff013eb
Better local names
garydgregory Apr 1, 2024
2cbfe92
Avoid possible NullPointerException in
garydgregory Apr 1, 2024
3ba8aa0
Avoid possible NullPointerException in
garydgregory Apr 1, 2024
35cc0cc
Javadoc
garydgregory Apr 1, 2024
7baa87a
Javadoc
garydgregory Apr 1, 2024
5235833
Better local name
garydgregory Apr 1, 2024
490800a
Javadoc
garydgregory Apr 1, 2024
a701625
Avoid possible NullPointerException in
garydgregory Apr 1, 2024
1e4e630
Avoid possible NullPointerException in
garydgregory Apr 1, 2024
c7082c0
Avoid possible NullPointerException in
garydgregory Apr 1, 2024
f420889
Avoid possible NullPointerException in
garydgregory Apr 1, 2024
e835741
Remove trainling whitespace
garydgregory Apr 1, 2024
d8b437b
Avoid possible NullPointerException in
garydgregory Apr 1, 2024
97e4ac7
Remove whitespace
garydgregory Apr 1, 2024
45af977
Remove whitespace
garydgregory Apr 1, 2024
69e745d
Avoid NullPointerException after calling
garydgregory Apr 1, 2024
80e8626
Avoid NullPointerException after calling
garydgregory Apr 1, 2024
d6fa48b
Remove whitespace
garydgregory Apr 1, 2024
46eb293
Avoid NullPointerException after calling
garydgregory Apr 1, 2024
a35914a
Avoid NullPointerException after calling
garydgregory Apr 1, 2024
81e11ac
Remove whitespace
garydgregory Apr 1, 2024
6c0452a
Avoid NullPointerException after calling
garydgregory Apr 1, 2024
ac67474
Avoid NullPointerException after calling
garydgregory Apr 1, 2024
92b4730
Avoid NullPointerException after calling
garydgregory Apr 1, 2024
fb6ef54
Avoid NullPointerException after calling
garydgregory Apr 1, 2024
7b44a1d
Avoid NullPointerException after calling
garydgregory Apr 1, 2024
f21a312
Avoid NullPointerException after calling
garydgregory Apr 1, 2024
0e1b472
Avoid NullPointerException after calling
garydgregory Apr 1, 2024
3a743f9
Avoid NullPointerException after calling
garydgregory Apr 1, 2024
82bd20a
Avoid NullPointerException after calling
garydgregory Apr 1, 2024
9c17710
Better local name
garydgregory Apr 1, 2024
2586ee0
Avoid NullPointerException after calling
garydgregory Apr 1, 2024
b467e8d
Avoid NullPointerException after
garydgregory Apr 1, 2024
5b97598
Avoid NullPointerException after calling
garydgregory Apr 1, 2024
dc9b61b
Avoid NullPointerException after calling
garydgregory Apr 1, 2024
e40de45
Add null guard for InstructionFactor.createInvoke (#289)
pingpingy1 Apr 1, 2024
67048c2
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-…
garydgregory Apr 1, 2024
fb85ced
Add null guard for InstructionFactory.createInvoke() #289
garydgregory Apr 1, 2024
511a778
Avoid NullPointerException calling
garydgregory Apr 1, 2024
95552fe
Avoid NullPointerException calling
garydgregory Apr 1, 2024
ca1add6
Avoid NullPointerException calling
garydgregory Apr 1, 2024
87eac0a
Fix typo in comment
garydgregory Apr 1, 2024
0aebd69
Avoid NullPointerException calling
garydgregory Apr 1, 2024
c032ef5
Avoid NullPointerException calling
garydgregory Apr 1, 2024
0e4e0d6
Avoid NullPointerException calling
garydgregory Apr 1, 2024
1dbef18
Avoid NullPointerException calling
garydgregory Apr 1, 2024
2308a51
Bump org.apache.commons:commons-parent from 67 to 69 (#297)
dependabot[bot] Apr 1, 2024
2a91c5d
Bump org.apache.commons:commons-parent from 67 to 69 #297
garydgregory Apr 1, 2024
31227a3
Reuse ArrayFill
garydgregory Apr 3, 2024
10c4fed
Reuse ArrayFill
garydgregory Apr 3, 2024
abeaef0
Remove unused import
garydgregory Apr 3, 2024
97f2bec
Support for Java 16 Record feature (#290)
PabloNicolasDiaz Apr 4, 2024
a5cb8b1
Add Support for Java 16 records #290
garydgregory Apr 4, 2024
0aadc31
The next release will be 6.9.0
garydgregory Apr 4, 2024
d896847
Bump codecov/codecov-action from 4.1.1 to 4.2.0 (#298)
dependabot[bot] Apr 5, 2024
399d543
Bump github/codeql-action from 3.24.9 to 3.24.10 (#299)
dependabot[bot] Apr 5, 2024
1fe6337
Bump commons-io:commons-io from 2.16.0 to 2.16.1 (#300)
dependabot[bot] Apr 8, 2024
19c959a
Bump commons-io:commons-io from 2.16.0 to 2.16.1 #300
garydgregory Apr 8, 2024
93cf485
Bump codecov/codecov-action from 4.2.0 to 4.3.0 (#301)
dependabot[bot] Apr 12, 2024
86194e2
Bump actions/upload-artifact from 4.3.1 to 4.3.2 (#304)
dependabot[bot] Apr 19, 2024
7d1c4c7
Bump github/codeql-action from 3.24.10 to 3.25.1 (#303)
dependabot[bot] Apr 19, 2024
d18eae6
Bump actions/checkout from 4.1.2 to 4.1.3 (#302)
dependabot[bot] Apr 19, 2024
8083fb5
Sort members
garydgregory Apr 21, 2024
f670f11
Set the (low) bar for JaCoCo checks
garydgregory Apr 21, 2024
7ae5745
Use final
garydgregory Apr 21, 2024
7579d29
Prepare for the next release candidate
garydgregory Apr 21, 2024
52e48f0
JaCoCo on Java 8 is different from other versions
garydgregory Apr 21, 2024
eba45c0
JaCoCo on Java 8 is different from other versions
garydgregory Apr 21, 2024
5dbc07f
Set commons.jacoco.haltOnFailure to false until profiles work
garydgregory Apr 21, 2024
fd77840
JaCoCo on Java 8 is different from other versions
garydgregory Apr 21, 2024
2413661
JaCoCo on Java 9 is different from other versions
garydgregory Apr 21, 2024
c240a61
Prepare for the next release candidate
garydgregory Apr 21, 2024
0a5f2a0
Merge tag 'rel/commons-bcel-6.9.0' into apache-update-to-6.9.0
markro49 Sep 28, 2026
ec4b943
update actions/cache version
markro49 Sep 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,21 @@ jobs:
java: [ 8, 11, 17, 21 ]

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Prepare git
run: git config --global core.autocrlf false
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
with:
persist-credentials: false
- uses: actions/cache@v4.2.4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn -V apache-rat:check package --file pom.xml
run: mvn --show-version --batch-mode --no-transfer-progress -DtrimStackTrace=false -Drat.skip=true
Comment thread
markro49 marked this conversation as resolved.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Apache Commons BCEL
[![Java CI](https://github.com/apache/commons-bcel/actions/workflows/maven.yml/badge.svg)](https://github.com/apache/commons-bcel/actions/workflows/maven.yml)
[![Coverage Status](https://codecov.io/gh/apache/commons-bcel/branch/master/graph/badge.svg)](https://app.codecov.io/gh/apache/commons-bcel)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.bcel/bcel/badge.svg?gav=true)](https://maven-badges.herokuapp.com/maven-central/org.apache.bcel/bcel/?gav=true)
[![Javadocs](https://javadoc.io/badge/org.apache.bcel/bcel/6.8.1.svg)](https://javadoc.io/doc/org.apache.bcel/bcel/6.8.1)
[![Javadocs](https://javadoc.io/badge/org.apache.bcel/bcel/6.9.0.svg)](https://javadoc.io/doc/org.apache.bcel/bcel/6.9.0)
[![CodeQL](https://github.com/apache/commons-bcel/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/apache/commons-bcel/actions/workflows/codeql-analysis.yml)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/apache/commons-bcel/badge)](https://api.securityscorecards.dev/projects/github.com/apache/commons-bcel)

Expand All @@ -69,7 +69,7 @@ Alternatively, you can pull it from the central Maven repositories:
<dependency>
<groupId>org.apache.bcel</groupId>
<artifactId>bcel</artifactId>
<version>6.8.1</version>
<version>6.9.0</version>
</dependency>
```

Expand Down
1,130 changes: 638 additions & 492 deletions RELEASE-NOTES.txt

Large diffs are not rendered by default.

94 changes: 47 additions & 47 deletions docs/eps/classloader.fig
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
#FIG 3.2
Portrait
Center
Metric
A4
100.00
Single
-2
1200 2
6 900 450 3150 1125
2 4 0 1 0 7 100 0 -1 0.000 0 0 7 0 0 5
3150 1125 3150 450 900 450 900 1125 3150 1125
4 0 0 100 0 16 14 0.0000 4 165 1380 1350 900 Java class file\001
-6
6 3600 450 5850 1125
2 2 0 1 0 7 100 0 -1 0.000 0 0 -1 0 0 5
3600 450 5850 450 5850 1125 3600 1125 3600 450
4 0 0 100 0 16 14 0.0000 4 165 1215 4140 855 Class loader\001
-6
6 6750 450 9000 1125
2 2 0 1 0 7 100 0 -1 0.000 0 0 -1 0 0 5
6750 450 9000 450 9000 1125 6750 1125 6750 450
4 0 0 100 0 16 14 0.0000 4 210 1665 7020 855 Byte code verifier\001
-6
6 9450 450 11700 1125
2 2 0 1 0 7 100 0 -1 0.000 0 0 -1 0 0 5
9450 450 11700 450 11700 1125 9450 1125 9450 450
4 0 0 100 0 16 14 0.0000 4 210 1410 9900 900 Interpreter/JIT\001
-6
6 4950 1575 7875 2700
2 2 0 1 0 7 100 0 -1 0.000 0 0 -1 0 0 5
4950 1575 7875 1575 7875 2700 4950 2700 4950 1575
4 0 0 100 0 16 14 0.0000 4 210 2505 5175 2475 Byte code transformations\001
4 0 0 100 0 14 14 0.0000 4 150 1215 5850 2025 JavaClass\001
-6
2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 1 0 2
1 1 1.00 60.00 120.00
3150 765 3600 765
2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 1 0 2
1 1 1.00 60.00 120.00
9000 765 9450 765
2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 1 0 3
1 1 1.00 60.00 120.00
5850 765 6075 765 6075 1575
2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 1 0 3
1 1 1.00 60.00 120.00
6525 1575 6525 765 6750 765
#FIG 3.2
Portrait
Center
Metric
A4
100.00
Single
-2
1200 2
6 900 450 3150 1125
2 4 0 1 0 7 100 0 -1 0.000 0 0 7 0 0 5
3150 1125 3150 450 900 450 900 1125 3150 1125
4 0 0 100 0 16 14 0.0000 4 165 1380 1350 900 Java class file\001
-6
6 3600 450 5850 1125
2 2 0 1 0 7 100 0 -1 0.000 0 0 -1 0 0 5
3600 450 5850 450 5850 1125 3600 1125 3600 450
4 0 0 100 0 16 14 0.0000 4 165 1215 4140 855 Class loader\001
-6
6 6750 450 9000 1125
2 2 0 1 0 7 100 0 -1 0.000 0 0 -1 0 0 5
6750 450 9000 450 9000 1125 6750 1125 6750 450
4 0 0 100 0 16 14 0.0000 4 210 1665 7020 855 Byte code verifier\001
-6
6 9450 450 11700 1125
2 2 0 1 0 7 100 0 -1 0.000 0 0 -1 0 0 5
9450 450 11700 450 11700 1125 9450 1125 9450 450
4 0 0 100 0 16 14 0.0000 4 210 1410 9900 900 Interpreter/JIT\001
-6
6 4950 1575 7875 2700
2 2 0 1 0 7 100 0 -1 0.000 0 0 -1 0 0 5
4950 1575 7875 1575 7875 2700 4950 2700 4950 1575
4 0 0 100 0 16 14 0.0000 4 210 2505 5175 2475 Byte code transformations\001
4 0 0 100 0 14 14 0.0000 4 150 1215 5850 2025 JavaClass\001
-6
2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 1 0 2
1 1 1.00 60.00 120.00
3150 765 3600 765
2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 1 0 2
1 1 1.00 60.00 120.00
9000 765 9450 765
2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 1 0 3
1 1 1.00 60.00 120.00
5850 765 6075 765 6075 1575
2 1 0 1 0 7 0 0 -1 0.000 0 0 -1 1 0 3
1 1 1.00 60.00 120.00
6525 1575 6525 765 6750 765
Loading
Loading