You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "satish babu krishnamoorthy (Created) (JIRA)" <ji...@apache.org> on 2011/10/07 18:53:29 UTC
[jira] [Created] (CASSANDRA-3332) Build warning at
org/apache/cassandra/io/util/Memory.java, is this expected ?
Build warning at org/apache/cassandra/io/util/Memory.java, is this expected ?
-----------------------------------------------------------------------------
Key: CASSANDRA-3332
URL: https://issues.apache.org/jira/browse/CASSANDRA-3332
Project: Cassandra
Issue Type: Bug
Components: Core
Affects Versions: 1.0.1
Environment: trunk
Reporter: satish babu krishnamoorthy
Priority: Minor
Build warning at org/apache/cassandra/io/util/Memory.java, is this expected ?
[javac] /home/satish/workspace/cassandra/src/java/org/apache/cassandra/io/util/Memory.java:22: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[javac] import sun.misc.Unsafe;
[javac] ^
[javac] /home/satish/workspace/cassandra/src/java/org/apache/cassandra/io/util/Memory.java:28: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[javac] private static final Unsafe unsafe;
[javac] ^
[javac] /home/satish/workspace/cassandra/src/java/org/apache/cassandra/io/util/Memory.java:34: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[javac] Field field = sun.misc.Unsafe.class.getDeclaredField("theUnsafe");
[javac] ^
[javac] /home/satish/workspace/cassandra/src/java/org/apache/cassandra/io/util/Memory.java:36: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
[javac] unsafe = (sun.misc.Unsafe) field.get(null);
[javac] ^
satish@ubuntu:~/workspace/cassandra$ java -version
java version "1.6.0_27"
Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
Java HotSpot(TM) 64-Bit Server VM (build 20.2-b06, mixed mode)
satish@ubuntu:~/workspace/cassandra$ javac -version
javac 1.6.0_27
satish@ubuntu:~/workspace/cassandra$ svn info
Path: .
URL: http://svn.apache.org/repos/asf/cassandra/trunk
Repository Root: http://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 1180097
Node Kind: directory
Schedule: normal
Last Changed Author: jbellis
Last Changed Rev: 1179902
Last Changed Date: 2011-10-06 17:00:21 -0700 (Thu, 06 Oct 2011)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-3332) Build warning at
org/apache/cassandra/io/util/Memory.java, is this expected ?
Posted by "Jonathan Ellis (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-3332.
---------------------------------------
Resolution: Not A Problem
Yes, this is expected. (See CASSANDRA-3271.)
> Build warning at org/apache/cassandra/io/util/Memory.java, is this expected ?
> -----------------------------------------------------------------------------
>
> Key: CASSANDRA-3332
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3332
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.1
> Environment: trunk
> Reporter: satish babu krishnamoorthy
> Priority: Minor
> Labels: build
>
> Build warning at org/apache/cassandra/io/util/Memory.java, is this expected ?
> [javac] /home/satish/workspace/cassandra/src/java/org/apache/cassandra/io/util/Memory.java:22: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
> [javac] import sun.misc.Unsafe;
> [javac] ^
> [javac] /home/satish/workspace/cassandra/src/java/org/apache/cassandra/io/util/Memory.java:28: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
> [javac] private static final Unsafe unsafe;
> [javac] ^
> [javac] /home/satish/workspace/cassandra/src/java/org/apache/cassandra/io/util/Memory.java:34: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
> [javac] Field field = sun.misc.Unsafe.class.getDeclaredField("theUnsafe");
> [javac] ^
> [javac] /home/satish/workspace/cassandra/src/java/org/apache/cassandra/io/util/Memory.java:36: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
> [javac] unsafe = (sun.misc.Unsafe) field.get(null);
> [javac] ^
> satish@ubuntu:~/workspace/cassandra$ java -version
> java version "1.6.0_27"
> Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
> Java HotSpot(TM) 64-Bit Server VM (build 20.2-b06, mixed mode)
> satish@ubuntu:~/workspace/cassandra$ javac -version
> javac 1.6.0_27
> satish@ubuntu:~/workspace/cassandra$ svn info
> Path: .
> URL: http://svn.apache.org/repos/asf/cassandra/trunk
> Repository Root: http://svn.apache.org/repos/asf
> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 1180097
> Node Kind: directory
> Schedule: normal
> Last Changed Author: jbellis
> Last Changed Rev: 1179902
> Last Changed Date: 2011-10-06 17:00:21 -0700 (Thu, 06 Oct 2011)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira