GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update BouncyCastle from 1.69 to 1.78.1 by chrisvest · Pull Request #14003 · netty/netty

Conversation

@chrisvest

@chrisvest chrisvest commented Apr 25, 2024

Copy link
Copy Markdown
Member

Motivation:
The update was held back by a compatibility.
Since in 4.2 we've moved the JDK baseline from Java 6 to Java 8 anyway, we have the opportunity to bump the BC version as well.

Modification:
Switch all BouncyCastle dependencies from "-jdk15on" to "-jdk18on", and update them to the latest version.

Result:
Fixes #13561

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@chrisvest
Update BouncyCastle to the latest version
b9ff89a
Motivation:
The update was held back by a compatibility.
Since in 4.2 we've moved the JDK baseline from Java 6 to Java 8 anyway, we have the opportunity to bump the BC version as well.

Modification:
Switch all BouncyCastle dependencies from "-jdk15on" to "-jdk18on", and update them to the latest version.

Result:
Fixes netty#13561
@chrisvest
chrisvest requested a review from normanmaurer April 25, 2024 22:57
@chrisvest chrisvest added this to the 4.2.0.Final milestone Apr 25, 2024
@chrisvest chrisvest linked an issue Apr 25, 2024 that may be closed by this pull request
Updating BouncyCastle will be a breaking change #13561
Closed
@chrisvest chrisvest changed the title Update BouncyCastle to the latest version Update BouncyCastle from 1.69 to 1.78.1 Apr 25, 2024
@chrisvest

chrisvest commented Apr 25, 2024

Copy link
Copy Markdown
Member Author

See their release notes for all the changes: https://www.bouncycastle.org/releasenotes.html#r1rv78

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chrisvest

chrisvest commented Apr 25, 2024

Copy link
Copy Markdown
Member Author

Revapi is correctly pointing out that this is a breaking change. Will add overrides in a bit.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chrisvest
chrisvest force-pushed the 4.2-update-bc branch from 1fec8e9 to 0231ba0 Compare April 26, 2024 00:12
@chrisvest
Add revapi overrides
8f1375c
We also have to update revapi in order to deal with overrides for generic methods.
@chrisvest
chrisvest force-pushed the 4.2-update-bc branch from 0231ba0 to 8f1375c Compare April 26, 2024 00:55
normanmaurer
normanmaurer approved these changes Apr 26, 2024
View reviewed changes
@normanmaurer
normanmaurer merged commit 120b969 into netty:4.2 Apr 26, 2024
@normanmaurer

normanmaurer commented Apr 26, 2024

Copy link
Copy Markdown
Member

@chrisvest thanks a lot !

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chrisvest
chrisvest deleted the 4.2-update-bc branch April 26, 2024 15:43
@chrisvest chrisvest mentioned this pull request Apr 26, 2024
Update BouncyCastle and Revapi #14005
Merged
chrisvest added a commit to chrisvest/netty that referenced this pull request Apr 26, 2024
@chrisvest
Update BouncyCastle and Revapi
fac3e28
This is a simple forward port of netty#14003 but we don't need to worry about compatibility because Netty 5 is a new major version.
chrisvest added a commit that referenced this pull request Apr 26, 2024
@chrisvest
Update BouncyCastle and Revapi (#14005)
5f5dcdc
This is a simple forward port of #14003 but we don't need to worry about
compatibility because Netty 5 is a new major version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@normanmaurer normanmaurer normanmaurer approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

4.2.0.Alpha1

Development

Successfully merging this pull request may close these issues.

Updating BouncyCastle will be a breaking change

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@chrisvest @normanmaurer
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.