You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/05/01 00:21:06 UTC

[jira] [Commented] (SPARK-7288) Suppress compiler warnings due to use of sun.misc.Unsafe

    [ https://issues.apache.org/jira/browse/SPARK-7288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14522385#comment-14522385 ] 

Apache Spark commented on SPARK-7288:
-------------------------------------

User 'JoshRosen' has created a pull request for this issue:
https://github.com/apache/spark/pull/5814

> Suppress compiler warnings due to use of sun.misc.Unsafe
> --------------------------------------------------------
>
>                 Key: SPARK-7288
>                 URL: https://issues.apache.org/jira/browse/SPARK-7288
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.4.0
>            Reporter: Josh Rosen
>            Assignee: Josh Rosen
>
> Our use of sun.misc.Unsafe in Tungsten led to some Java compiler warnings. These warnings can only be suppressed via the -XDignore.symbol.file javac flag; the @SuppressWarnings annotation won't work for these.
> We can enable this flag only for the {{unsafe}} module.  To prevent us from having to add similar flags if we call unsafe functionality in other modules, we can place a facade in front of Unsafe so that other modules won't call it directly. This facade also will also help us to avoid accidental usage of deprecated Unsafe methods or methods that aren't supported in Java 6.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org