Getting "mode not supported for this object: rw" for UNIXServer instances
I can't seem to monitor unix servers in jruby (using JRuby 9.1.13.0 btw). I'm getting the following error:
mode not supported for this object: rw
org/nio4r/Selector.java:107:in `register'
...
It might be that nio4r just doesn't work with unix sockets in jruby, but I still had to ask, as they're selectable in JRuby using IO.select.
UNIX sockets and JRuby have always been a bit iffy.
@headius any thoughts here?
@HoneyryderChuck do you mind submitting a PR with a failing test case?
I have discovered this a long time ago, and can't remember specifics. But I guess that you can just try instantiating a UNIXServer and settings :rw on it, and see if it works.
@HoneyryderChuck Can you contribute a failing spec? Thanks.