Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Epoll.isAvailable() must return false if sun.misc.Unsafe is not present.
Motivation: Currently our epoll native transport requires sun.misc.Unsafe and so we need to take this into account for Epoll.isAvailable(). Modifications: Take into account if sun.misc.Unsafe is present. Result: Only return true for Epoll.isAvailable() if sun.misc.Unsafe is present.
- Loading branch information