Skip to content

[JDK-8361426] JDK26+ incompatibility because of jdk.internal.ref.Cleaner removal. #575

Description

@farquet

The jdk.internal.ref.Cleaner class has now been removed from OpenJDK mainline (JDK26+).

However, Chronicle-Map is using this internal class explicitly here:

Class<?> cleanerClass = Class.forName(Jvm.isJava9Plus() ? "jdk.internal.ref.Cleaner" : "sun.misc.Cleaner");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions