vrozov opened a new pull request, #5828: URL: https://github.com/apache/hive/pull/5828
### What changes were proposed in this pull request? Use `getDeclaredFields0` to try getting `slot` `Field` if `getDeclaredField` fails. Fallback to the old non deterministic behavior if `slot` field is not accessible. ### Why are the changes needed? Java 12 and above filters out private fields of the `Field` class causing "Error getting slot value". ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Verified manually that the error is gone on Java 17. Using existing test for the rest. -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org