mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-05 20:48:22 +00:00
d6f56030d8
In addition to being a big security problem, setAccessible is a risk for java 9 migration. We need to clean up our code so we can ban it and eventually enforce this with security manager for third-party code, too, or we may have problems. Instead of using setAccessible, use the correct modifier (e.g. public). TODO: ban in tests TODO: ban in security manager at runtime