dongjoon-hyun commented on a change in pull request #24825: [SPARK-27981][CORE] 
Remove `Illegal reflective access` warning for `java.nio.Bits.unaligned()`
URL: https://github.com/apache/spark/pull/24825#discussion_r291796349
 
 

 ##########
 File path: common/unsafe/src/main/java/org/apache/spark/unsafe/Platform.java
 ##########
 @@ -319,4 +301,36 @@ public static void throwException(Throwable t) {
       DOUBLE_ARRAY_OFFSET = 0;
     }
   }
+
+  // This requires `majorVersion` and `_UNSAFE`.
 
 Review comment:
   This is moved at the bottom of this file because `majorVersion` and 
`_UNSAFE` should be initialized before this.

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