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 — Do not try to delete a global handle with the local handles APIs by normanmaurer · Pull Request #13640 · netty/netty

Conversation

@normanmaurer

@normanmaurer normanmaurer commented Sep 26, 2023

Copy link
Copy Markdown
Member

Motivation:

The code introduced as part of #13480 contained a bug which could crash the JVM. This only manifested in JDK21+ as earlier versions did not contain the related assert.

Modifications:

Remove left-over call that could crash the JVM

Result:

Correct code that also works on JDK21

Sorry, something went wrong.

Uh oh!

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

He-Pin reacted with thumbs up emoji He-Pin reacted with heart emoji
All reactions
  • 👍 1 reaction
  • ❤️ 1 reaction
@normanmaurer
Do not try to delete a global handle with the local handles APIs (#588)
b035ef8
Motivation:

The code introduced as part of #13480 contained a
bug which could crash the JVM. This only manifested in JDK21+ as earlier
versions did not contain the related assert.

Modifications:

Remove left-over call that could crash the JVM

Result:

Correct code that also works on JDK21
@normanmaurer normanmaurer added this to the 4.1.99.Final milestone Sep 26, 2023
@normanmaurer normanmaurer mentioned this pull request Sep 26, 2023
Enable build with JDK21 #13627
Merged
chrisvest
chrisvest approved these changes Sep 26, 2023
View reviewed changes
@normanmaurer

normanmaurer commented Sep 26, 2023

Copy link
Copy Markdown
Member Author

Related openjdk discussion https://mail.openjdk.org/pipermail/hotspot-gc-dev/2023-September/043696.html

sullis, AlbumenJ, laosijikaichele, and He-Pin reacted with thumbs up emoji
All reactions
  • 👍 4 reactions

Sorry, something went wrong.

Uh oh!

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

@normanmaurer
normanmaurer merged commit 2fcda07 into 4.1 Sep 27, 2023
@normanmaurer
normanmaurer deleted the jni_load_class branch September 27, 2023 08:37
normanmaurer added a commit that referenced this pull request Sep 27, 2023
@normanmaurer
Do not try to delete a global handle with the local handles APIs (#13640
db71720
)

Motivation:

The code introduced as part of
#13480 contained a bug which could
crash the JVM. This only manifested in JDK21+ as earlier versions did
not contain the related assert.

Modifications:

Remove left-over call that could crash the JVM

Result:

Correct code that also works on JDK21
@dongjoon-hyun dongjoon-hyun mentioned this pull request Sep 29, 2023
[SPARK-45382][BUILD] Upgrade Netty to 4.1.99.Final apache/spark#43180
Closed
dongjoon-hyun added a commit to apache/spark that referenced this pull request Sep 29, 2023
@dongjoon-hyun
[SPARK-45382][BUILD] Upgrade Netty to 4.1.99.Final
0b68e41
### What changes were proposed in this pull request?

This PR aims to Upgrade Netty to 4.1.99.Final.

### Why are the changes needed?

Netty 4.1.99.Final is the first release where Netty community has Java 21 test coverage.
- netty/netty#13627

It also fixes a bug which could lead to SIGSERV while running on JDK21+. Since the bug was introduced at `4.1.98.Final`, Apache Spark was not affected yet.
- netty/netty#13640

Here is a full release note.
- https://netty.io/news/2023/09/21/4-1-99-Final.html

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #43180 from dongjoon-hyun/SPARK-45382.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
@SgtSilvio

SgtSilvio commented Oct 3, 2023

Copy link
Copy Markdown
Contributor

Sorry, something that I should have seen in code review.

All reactions

Sorry, something went wrong.

Uh oh!

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

@normanmaurer

normanmaurer commented Oct 4, 2023

Copy link
Copy Markdown
Member Author

No worries... I somehow missed this as well

All reactions

Sorry, something went wrong.

Uh oh!

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

prabhjyotsingh pushed a commit to acceldata-io/spark3 that referenced this pull request Sep 10, 2026
@dongjoon-hyun @prabhjyotsingh
[SPARK-45382][BUILD] Upgrade Netty to 4.1.99.Final
f7b120c
This PR aims to Upgrade Netty to 4.1.99.Final.

Netty 4.1.99.Final is the first release where Netty community has Java 21 test coverage.
- netty/netty#13627

It also fixes a bug which could lead to SIGSERV while running on JDK21+. Since the bug was introduced at `4.1.98.Final`, Apache Spark was not affected yet.
- netty/netty#13640

Here is a full release note.
- https://netty.io/news/2023/09/21/4-1-99-Final.html

No.

Pass the CIs.

No.

Closes apache#43180 from dongjoon-hyun/SPARK-45382.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
Ko-dany pushed a commit to acceldata-io/spark3 that referenced this pull request Sep 11, 2026
@dongjoon-hyun @Ko-dany
[SPARK-45382][BUILD] Upgrade Netty to 4.1.99.Final
b5c4585
This PR aims to Upgrade Netty to 4.1.99.Final.

Netty 4.1.99.Final is the first release where Netty community has Java 21 test coverage.
- netty/netty#13627

It also fixes a bug which could lead to SIGSERV while running on JDK21+. Since the bug was introduced at `4.1.98.Final`, Apache Spark was not affected yet.
- netty/netty#13640

Here is a full release note.
- https://netty.io/news/2023/09/21/4-1-99-Final.html

No.

Pass the CIs.

No.

Closes apache#43180 from dongjoon-hyun/SPARK-45382.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
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

Uh oh!

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

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

4.1.99.Final

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

3 participants

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