Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid Unsafe usage where possible #2403

Merged
merged 1 commit into from
Sep 9, 2023
Merged

Conversation

SirYwell
Copy link
Member

Overview

Description

While reflections got restricted, we can still use them for everything in the unnamed module.
This allows us to get rid of almost all usages of Unsafe.
If Unsafe is ever removed in future Java releases, we are better prepared, using the proper replacements.

Submitter Checklist

@SirYwell SirYwell requested a review from a team as a code owner August 20, 2023 10:47
@github-actions github-actions bot added the chore label Aug 20, 2023
@NotMyFault NotMyFault requested a review from a team August 20, 2023 11:04
@NotMyFault NotMyFault merged commit f36c5d4 into main Sep 9, 2023
7 checks passed
@NotMyFault NotMyFault deleted the refactor/avoid-more-unsafe branch September 9, 2023 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants