spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynold Xin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-7288) Suppress compiler warnings due to use of sun.misc.Unsafe
Date Thu, 30 Apr 2015 22:22:06 GMT

     [ https://issues.apache.org/jira/browse/SPARK-7288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Reynold Xin resolved SPARK-7288.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0

> 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
>             Fix For: 1.4.0
>
>
> 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


Mime
View raw message