vrozov commented on PR #5828:
URL: https://github.com/apache/hive/pull/5828#issuecomment-2914538339

   @kokila-19 
   
   > Slot value was used as non-deterministic result would result in flaky 
test. Falling back to it won't be a good idea.
   
   1. Most of the time there will be no fallback. 
`Field.class.getDeclaredField(name)` will work in Java 8 and 
`getDeclaredFields0.invoke` will work in Java 12 and above.
   2. The fallback is provided as the last resort option to the old not 
deterministic behavior.
   
   > Using the MethodHandles privateLookupIn , slot can be accessed.
   
   It requires JDK 9 and above. Do you suggest that support for JDK 8 is 
completely dropped in 4.1?
    


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to