Selector#register uses the actual io object but java implementation was already correct because it calls RubyIO.convertToIO before