Skip to content

Java 11 support #2671

@hos-p

Description

@hos-p

According to jdeps ehcache relies on classes which are removed from jdk 11. Is there any plan for java 11 support?

ehcache-3.7.1.jar -> JDK removed internal API
ehcache-3.7.1.jar -> jdk.unsupported
org.ehcache.impl.internal.concurrent.ConcurrentHashMap -> sun.misc.Unsafe JDK internal API (jdk.unsupported)
org.ehcache.impl.internal.concurrent.ConcurrentHashMap$CounterCell -> sun.misc.Contended JDK internal API (JDK removed internal API)
org.ehcache.impl.internal.concurrent.ConcurrentHashMap$TreeBin -> sun.misc.Unsafe JDK internal API (jdk.unsupported)
org.ehcache.impl.internal.concurrent.ThreadLocalRandomUtil -> sun.misc.Unsafe JDK internal API (jdk.unsupported)
org.ehcache.sizeof.impl.UnsafeSizeOf -> sun.misc.Unsafe JDK internal API (jdk.unsupported)

Warning: JDK internal APIs are unsupported and private to JDK implementation that are
subject to be removed or changed incompatibly and could break your application.
Please modify your code to eliminate dependence on any JDK internal APIs.
For the most recent update on JDK internal API replacements, please check:
https://wiki.openjdk.java.net/display/JDK8/Java+Dependency+Analysis+Tool

JDK Internal API Suggested Replacement


sun.misc.Contended Removed. See http://openjdk.java.net/jeps/260
sun.misc.Unsafe See http://openjdk.java.net/jeps/260

Metadata

Metadata

Assignees

No one assigned

    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