Skip to content

Commit

Permalink
chore: Add @nowarn annotation to LazyVals. (#22270)
Browse files Browse the repository at this point in the history
Unsafe is planned to be removed in future  Java versions.

Motivication:

Makes it compile on JDK 23
refs: https://openjdk.org/jeps/471

Modification:
Add `@nowarn("cat=deprecation")`

Result:
Compiles successfully on JDK 23
  • Loading branch information
He-Pin authored Feb 20, 2025
1 parent 4493a66 commit 4952e0a
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 4952e0a

Please sign in to comment.