Skip to content

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called (java versions 24 - 25 ) #355

@istinnstudio

Description

@istinnstudio

It seems that java 25 LTS will be the last version to support sun.misc.Unsafe. There has to be a replacement for this dependency in order for the library to be able to work in later versions.[/+]
[+]WARNING: A terminally deprecated method in sun.misc.Unsafe has been called[/+]
[+]WARNING: sun.misc.Unsafe::arrayBaseOffset has been called by org.nustaq.serialization.util.FSTUtil (file:....jar)[/+]
[+]WARNING: Please consider reporting this to the maintainers of class org.nustaq.serialization.util.FSTUtil[/+]
[+]WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release[/+]
[+]https://openjdk.org/jeps/471[/+]
[+]As to timing, we plan to implement[/+]
[+]Phase 1, via this JEP, in JDK 23;[/+]
[+]Phase 2, issuing run-time warnings, in or before JDK 25;[/+]
[+]Phase 3, throwing exceptions by default, in JDK 26 or later; and[/+]
[+]Phases 4 and 5, which will remove the methods, in releases following JDK 26.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions