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 — Auto-port 5.0: ChannelInitializer: correct misleading comment on exce… · netty/netty@c8d08c0

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • transport/src/main/java/io/netty/channel
    • ChannelInitializer.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎transport/src/main/java/io/netty/channel/ChannelInitializer.java‎

Copy file name to clipboardExpand all lines: transport/src/main/java/io/netty/channel/ChannelInitializer.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ private boolean initChannel(ChannelHandlerContext ctx) throws Exception {
129129
try {
130130
initChannel((C) ctx.channel());
131131
} catch (Throwable cause) {
132-
// Explicitly call exceptionCaught(...) as we removed the handler before calling initChannel(...).
133-
// We do so to prevent multiple calls to initChannel(...).
132+
// Explicitly route the failure into the pipeline. Re-entrance is guarded by
133+
// the initMap.add(ctx) check above; the finally block below removes the handler.
134134
exceptionCaught(ctx, cause);
135135
} finally {
136136
if (!ctx.isRemoved()) {

0 commit comments

Comments
0 (0)
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.