Skip to content

Partial fix org.apache.bcel:bcel dependency update#2446

Merged
hazendaz merged 2 commits intospotbugs:renovate/org.apache.bcel-bcel-6.xfrom
JuditKnoll:renovate/org.apache.bcel-bcel-6.x
Jun 10, 2023
Merged

Partial fix org.apache.bcel:bcel dependency update#2446
hazendaz merged 2 commits intospotbugs:renovate/org.apache.bcel-bcel-6.xfrom
JuditKnoll:renovate/org.apache.bcel-bcel-6.x

Conversation

@JuditKnoll
Copy link
Copy Markdown
Collaborator

This is a partial fix to the org.apache.bcel:bcel dependency update (#2278), since to solve it completely we will also need a new, currently unreleased version of bcel.

There are several issues with updating to the newest bcel version currently as @nbauma109 already mentioned (#2278 (comment)):

This PR in itself only solves the first problem, since the second one is in bcel itself, and there is already a working solution for it.
Using a snapshot bcel version with the mentioned PR (apache/commons-bcel#221) and the changes in this PR, spotbugs builds successfully on my machine.
So for a successful bcel dependency version update, we will need a new version of bcel containing the mentioned PR, and the changes in this PR.

*Quote from the JVM specification: "All eight byte constants take up two spots in the constant pool. If this is the n'th byte in the constant pool, then the next item will be numbered n+2"


Make sure these boxes are checked before submitting your PR -- thank you!

  • Added an entry into CHANGELOG.md if you have changed SpotBugs code

@hazendaz hazendaz self-assigned this Jun 10, 2023
@hazendaz hazendaz merged commit 008a9ca into spotbugs:renovate/org.apache.bcel-bcel-6.x Jun 10, 2023
@hazendaz
Copy link
Copy Markdown
Member

Thanks @JuditKnoll Appreciate all the work you are putting in here.

@JuditKnoll JuditKnoll deleted the renovate/org.apache.bcel-bcel-6.x branch July 5, 2023 08:03
hazendaz added a commit that referenced this pull request Oct 5, 2023
* fix(deps): update dependency org.apache.bcel:bcel to v6.7.0

* Partial fix org.apache.bcel:bcel dependency update (#2446)

* Refactor deprecated tests to the new type

* Follow the changes in ConstantPool

---------

Co-authored-by: Judit Knoll <judit.knoll@sigmatechnology.com>

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Judit Knoll <123470644+JuditKnoll@users.noreply.github.com>
Co-authored-by: Judit Knoll <judit.knoll@sigmatechnology.com>
Co-authored-by: Jeremy Landis <jeremylandis@hotmail.com>
hazendaz pushed a commit that referenced this pull request Oct 5, 2023
* Refactor deprecated tests to the new type

* Follow the changes in ConstantPool

---------

Co-authored-by: Judit Knoll <judit.knoll@sigmatechnology.com>
hazendaz pushed a commit that referenced this pull request Oct 7, 2023
* Refactor deprecated tests to the new type

* Follow the changes in ConstantPool

---------

Co-authored-by: Judit Knoll <judit.knoll@sigmatechnology.com>
JuditKnoll added a commit to JuditKnoll/spotbugs that referenced this pull request Dec 8, 2023
* Refactor deprecated tests to the new type

* Follow the changes in ConstantPool

---------

Co-authored-by: Judit Knoll <judit.knoll@sigmatechnology.com>
hazendaz pushed a commit that referenced this pull request Dec 9, 2023
* Partial fix org.apache.bcel:bcel dependency update (#2446)

* Refactor deprecated tests to the new type

* Follow the changes in ConstantPool

---------

Co-authored-by: Judit Knoll <judit.knoll@sigmatechnology.com>

* migrate the tests to junit jupiter
hazendaz pushed a commit that referenced this pull request Dec 9, 2023
* fix(deps): update dependency org.apache.bcel:bcel to v6.8.0

* Fixes for the bcel update (#2757)

* Partial fix org.apache.bcel:bcel dependency update (#2446)

* Refactor deprecated tests to the new type

* Follow the changes in ConstantPool

---------

Co-authored-by: Judit Knoll <judit.knoll@sigmatechnology.com>

* migrate the tests to junit jupiter

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Judit Knoll <123470644+JuditKnoll@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants