Defensive System.loadLibrary usage
cmc5788 opened this issue · 2 comments
See cashapp/zipline#28 and the solution over at https://github.com/KeepSafe/ReLinker - might be a good idea to get ahead of the curve on known System.loadLibrary
flakiness on certain devices before this becomes a larger issue:
This is potentially fantastic. Thanks for the pointer. I spent many, many, many weeks with the hemroid
project just debugging library loading/dependency issues. I will play around with this.
I tried to use this library, but it doesn't work for my purposes. It requires the application context to work, and since I am a library, I don't have access to that context. I can ask the user to provide it but that breaks backward compatibility. I also tried using some hacks to get it, and it worked sometimes but failed others. So I am going to take my chances with System.loadLibrary()
until I get reports of issues.