Fix crash in selector.wakeup() with closed selector
Selector.wakeup() can throw an undeclared IOException
(from native code).
This is not compatible with the signature of wakeup(). In prior
Android releases no exception is thrown in this case.
This change reverts the behavior to the same as prior Android
releases.
Many thanks to diddysbestbud@ for the report.
Bug: https://code.google.com/p/android/issues/detail?id=80785
Bug: 18548071
Change-Id: I5421e8a0ae1fdf2cde9cb635dae56b4fd02b6ac4
6 files changed