srowen commented on issue #24825: [SPARK-27981][CORE] Remove `Illegal 
reflective access` warning for `java.nio.Bits.unaligned()` in JDK9+
URL: https://github.com/apache/spark/pull/24825#issuecomment-500139077
 
 
   Wait, I'm confused. There's a private field `unaligned` in Java 8 and 9, and 
is still `private`. But there's a method `unaligned()` in both as well that 
seems safer to call. Accessing a field by reflection is also going to generate 
this warning, right? what does this help?

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