dongjoon-hyun opened a new pull request #24825: [SPARK-27981][CORE] Remove 
`Illegal reflective access` warning for `java.nio.Bits.unaligned()`
URL: https://github.com/apache/spark/pull/24825
 
 
   ## What changes were proposed in this pull request?
   
   This PR aims to remove the following warnings for `java.nio.Bits.unaligned` 
at JDK9/10/11/12. Please note that there are more warnings which is beyond of 
this PR's scope.
   ```
   $ bin/spark-shell --driver-java-options=--illegal-access=warn
   WARNING: Illegal reflective access by org.apache.spark.unsafe.Platform
   (file:/.../spark-unsafe_2.12-3.0.0-SNAPSHOT.jar)
   to method java.nio.Bits.unaligned()
   ...
   ```
   
   ## How was this patch tested?
   
   Manual. Run Spark command like `spark-shell` with 
`--driver-java-options=--illegal-access=warn` option in JDK9/10/11/12 
environment.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to