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 — Future.sync*() should rethrow by wrapping errors in a CompletionExcep… by normanmaurer · Pull Request #16187 · netty/netty

Conversation

@normanmaurer

@normanmaurer normanmaurer commented Jan 27, 2026

Copy link
Copy Markdown
Member

…tion

Motivation:

We should wrap the error in a CompletionException before rethrowing as otherwise we might produce exceptions that are not expected.

Modification:

  • Rethrow by wrapping into CompletionException
  • Fix tests

Result:

More correct implementation of sync*()

Sorry, something went wrong.

Uh oh!

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

All reactions
@normanmaurer
normanmaurer requested a review from chrisvest January 27, 2026 15:11
@normanmaurer normanmaurer assigned yawkat and franz1981 Jan 27, 2026
@normanmaurer normanmaurer added this to the 5.0.0.Final milestone Jan 27, 2026
@chrisvest

chrisvest commented Jan 28, 2026

Copy link
Copy Markdown
Member

Looks like you'll be playing whack-a-mole with the test suite for a while 😅

All reactions

Sorry, something went wrong.

Uh oh!

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

normanmaurer added 8 commits January 31, 2026 12:10
@normanmaurer
Future.sync*() should rethrow by wrapping errors in a CompletionExcep…
0b8ffac
…tion

Motivation:

We should wrap the error in a CompletionException before rethrowing as otherwise we might produce exceptions that are not expected.

Modification:

- Rethrow by wrapping into CompletionException
- Fix tests

Result:

More correct implementation of sync*()
@normanmaurer
Fix
a19ee36
@normanmaurer
Fixes
aa0919e
@normanmaurer
Fix test
dea9ad0
@normanmaurer
Add throws Exception to EmbeddedChannel methods
f1ff08d
@normanmaurer
checkstyle
63dfdd2
@normanmaurer
Fix test failures
6736395
@normanmaurer
Fix test failures
4b1581a
@normanmaurer
normanmaurer force-pushed the sync branch from 4639fd6 to 4b1581a Compare January 31, 2026 11:10
@normanmaurer

normanmaurer commented Jan 31, 2026

Copy link
Copy Markdown
Member Author

@chrisvest this is now ready... finally :)

All reactions

Sorry, something went wrong.

Uh oh!

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

@yawkat
yawkat self-requested a review February 2, 2026 07:16
chrisvest
chrisvest reviewed Feb 3, 2026
View reviewed changes
Comment thread codec-base/src/test/java/io/netty/handler/codec/json/JsonObjectDecoderTest.java Resolved

Uh oh!

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

Comment thread codec-compression/src/test/java/io/netty/handler/codec/compression/Bzip2DecoderTest.java Resolved

Uh oh!

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

Comment thread codec-http2/src/main/java/io/netty/handler/codec/http2/CompressorHttp2ConnectionEncoder.java Resolved

Uh oh!

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

Comment thread codec-http2/src/main/java/io/netty/handler/codec/http2/CompressorHttp2ConnectionEncoder.java Resolved

Uh oh!

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

Comment thread codec-http2/src/main/java/io/netty/handler/codec/http2/DelegatingDecompressorFrameListener.java Resolved

Uh oh!

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

Comment thread handler/src/test/java/io/netty/handler/ssl/SslHandlerTest.java Resolved

Uh oh!

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

@normanmaurer
Address comments
1af78ab
@normanmaurer
normanmaurer requested a review from chrisvest February 11, 2026 11:17
@normanmaurer

normanmaurer commented Feb 11, 2026

Copy link
Copy Markdown
Member Author

@chrisvest all addressed PTAL again

All reactions

Sorry, something went wrong.

Uh oh!

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

chrisvest
chrisvest approved these changes Feb 11, 2026
View reviewed changes
@normanmaurer
normanmaurer merged commit 246e97d into 5.0 Feb 12, 2026
13 checks passed

Uh oh!

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

@normanmaurer
normanmaurer deleted the sync branch February 12, 2026 10:21
@normanmaurer normanmaurer mentioned this pull request Sep 22, 2026
suspend race fix #17588
Closed
@normanmaurer normanmaurer mentioned this pull request Oct 20, 2026
fix iouring zerocopy iov overwrite #17936
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chrisvest chrisvest chrisvest approved these changes
@yawkat yawkat Awaiting requested review from yawkat

Uh oh!

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

Assignees

@yawkat yawkat

@franz1981 franz1981

Labels

None yet

Projects

None yet

Milestone

5.0.0.Final

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

4 participants

@normanmaurer @chrisvest @yawkat @franz1981
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.