require 'socket'

server = TCPServer.new("0.0.0.0", 8080)
puts server.object_id

Ruby 1.9 produces         (for example)  16070920
JRuby 1.3RC2 produces (for example)  6

Is this result correct?

The problem exists in http://github.com/oldmoe/reactor/tree/master
This reactor code runs OK with ruby 1.9, and fails with jruby due in part to peculiar behaviour with object_id

Regards
Paul F Fraser


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to