You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ekaterina Dimitrova (Jira)" <ji...@apache.org> on 2022/01/03 14:27:00 UTC
[jira] [Commented] (CASSANDRA-17230) Trunk warnings: Unsafe is internal proprietary API and may be removed in a future release
[ https://issues.apache.org/jira/browse/CASSANDRA-17230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17468019#comment-17468019 ]
Ekaterina Dimitrova commented on CASSANDRA-17230:
-------------------------------------------------
CC [~benedict]
> Trunk warnings: Unsafe is internal proprietary API and may be removed in a future release
> -----------------------------------------------------------------------------------------
>
> Key: CASSANDRA-17230
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17230
> Project: Cassandra
> Issue Type: Task
> Components: Build
> Reporter: Ekaterina Dimitrova
> Priority: Low
> Fix For: 4.x
>
>
> We see on trunk the following warnings:
>
> {code:java}
> _simulator-bootstrap_build:
> [mkdir] Created dir: /Users/ekaterina.dimitri/IdeaProjects/april/cassandra/build/classes/simulator-bootstrap
> [javac] Compiling 1 source file to /Users/ekaterina.dimitri/IdeaProjects/april/cassandra/build/classes/simulator-bootstrap
> [javac] /Users/ekaterina.dimitri/IdeaProjects/april/cassandra/test/simulator/bootstrap/org/apache/cassandra/simulator/systems/InterceptorOfSystemMethods.java:29: warning: Unsafe is internal proprietary API and may be removed in a future release
> [javac] import sun.misc.Unsafe;
> [javac] ^
> [javac] /Users/ekaterina.dimitri/IdeaProjects/april/cassandra/test/simulator/bootstrap/org/apache/cassandra/simulator/systems/InterceptorOfSystemMethods.java:192: warning: Unsafe is internal proprietary API and may be removed in a future release
> [javac] public static Unsafe getUnsafe()
> [javac] ^
> [javac] /Users/ekaterina.dimitri/IdeaProjects/april/cassandra/test/simulator/bootstrap/org/apache/cassandra/simulator/systems/InterceptorOfSystemMethods.java:196: warning: Unsafe is internal proprietary API and may be removed in a future release
> [javac] Field field = Unsafe.class.getDeclaredField("theUnsafe");
> [javac] ^
> [javac] /Users/ekaterina.dimitri/IdeaProjects/april/cassandra/test/simulator/bootstrap/org/apache/cassandra/simulator/systems/InterceptorOfSystemMethods.java:198: warning: Unsafe is internal proprietary API and may be removed in a future release
> [javac] return (Unsafe) field.get(null);
> [javac] ^
>
> [javac] 4 warnings
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org