Skip to content

Java 25 support - JCTools Version Bump needed #775

@NiSpindlerEdeka

Description

@NiSpindlerEdeka

🚀 Feature Request

To ensure compatibility with Java 25, the library requires an update of its jctools dependency to a newer version.

 WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::arrayBaseOffset has been called by org.jctools.queues.ConcurrentSequencedCircularArrayQueue (file:/C:/Users/XXXXX/.m2/repository/org/jctools/jctools-core/2.1.2/jctools-core-2.1.2.jar)
WARNING: Please consider reporting this to the maintainers of class org.jctools.queues.ConcurrentSequencedCircularArrayQueue

🔈 Motivation

The current dependency version triggers deprecation warnings on newer Java versions (e.g., Java 25).
Updating jctools would help avoid potential future incompatibilities and remove these warnings.

🛰 Alternatives

No practical workaround other than suppressing warnings or avoiding newer Java versions, both of which are not ideal.

📎 Additional context

The issue originates from jctools-core version 2.1.2, which still relies on deprecated sun.misc.Unsafe methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions