spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DB Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-24421) sun.misc.Unsafe in JDK9+
Date Wed, 30 May 2018 00:11:00 GMT
DB Tsai created SPARK-24421:
-------------------------------

             Summary: sun.misc.Unsafe in JDK9+
                 Key: SPARK-24421
                 URL: https://issues.apache.org/jira/browse/SPARK-24421
             Project: Spark
          Issue Type: Sub-task
          Components: Build
    Affects Versions: 2.3.0
            Reporter: DB Tsai


Many internal APIs such as unsafe are encapsulated in JDK9+, see http://openjdk.java.net/jeps/260
for detail.

To use Unsafe, we need to add *jdk.unsupported* to our code’s module declaration:

{code:java}
module java9unsafe {
    requires jdk.unsupported;
}
{code}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message