spark-issues mailing list archives

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


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:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message