[
https://issues.apache.org/jira/browse/CURATOR-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16688144#comment-16688144
]
Jordan Zimmerman commented on CURATOR-433:
------------------------------------------
FYI - our shaded version of Guava uses JDK internals that someday will fail.
This needs to be addressed.
{code}
~/dev/oss/apache/curator (master %)$ jdeps --jdk-internals
curator-client/target/curator-client-4.0.2-SNAPSHOT.jar
curator-client-4.0.2-SNAPSHOT.jar -> jdk.unsupported
org.apache.curator.shaded.com.google.common.cache.Striped64 ->
sun.misc.Unsafe JDK internal API
(jdk.unsupported)
org.apache.curator.shaded.com.google.common.cache.Striped64$1 ->
sun.misc.Unsafe JDK internal API
(jdk.unsupported)
org.apache.curator.shaded.com.google.common.cache.Striped64$Cell ->
sun.misc.Unsafe JDK internal API
(jdk.unsupported)
org.apache.curator.shaded.com.google.common.hash.LittleEndianByteArray$UnsafeByteArray
-> sun.misc.Unsafe JDK internal API
(jdk.unsupported)
org.apache.curator.shaded.com.google.common.hash.LittleEndianByteArray$UnsafeByteArray$1
-> sun.misc.Unsafe JDK internal API
(jdk.unsupported)
org.apache.curator.shaded.com.google.common.hash.LittleEndianByteArray$UnsafeByteArray$2
-> sun.misc.Unsafe JDK internal API
(jdk.unsupported)
org.apache.curator.shaded.com.google.common.hash.LittleEndianByteArray$UnsafeByteArray$3
-> sun.misc.Unsafe JDK internal API
(jdk.unsupported)
org.apache.curator.shaded.com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator
-> sun.misc.Unsafe JDK internal API
(jdk.unsupported)
org.apache.curator.shaded.com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator$1
-> sun.misc.Unsafe JDK internal API
(jdk.unsupported)
org.apache.curator.shaded.com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper
-> sun.misc.Unsafe JDK internal API
(jdk.unsupported)
org.apache.curator.shaded.com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper$1
-> 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.Unsafe See http://openjdk.java.net/jeps/260
{code}
> Test/Validate Curator with Java 11
> ----------------------------------
>
> Key: CURATOR-433
> URL: https://issues.apache.org/jira/browse/CURATOR-433
> Project: Apache Curator
> Issue Type: Test
> Components: Client, Framework, General, Recipes, Tests
> Reporter: Jordan Zimmerman
> Priority: Major
>
> We should verify that Curator works with Java 9. Note: this may need to wait
> on ZooKeeper itself. I'm creating this now as a TBD.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)