[ https://issues.apache.org/jira/browse/SPARK-24421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16682915#comment-16682915 ]
Assaf Mendelson commented on SPARK-24421: ----------------------------------------- Would it be possible to add {{Add-Opens java.base/java.lang=ALL-UNNAMED to the manifest file to avoid the need to do so when running the jar?}} > Accessing sun.misc.Cleaner in JDK11 > ----------------------------------- > > Key: SPARK-24421 > URL: https://issues.apache.org/jira/browse/SPARK-24421 > Project: Spark > Issue Type: Sub-task > Components: Build > Affects Versions: 3.0.0 > Reporter: DB Tsai > Priority: Major > Labels: release-notes > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org