Arturas Slajus created JRUBY-6564:
-------------------------------------

             Summary: Methods missing from included modules
                 Key: JRUBY-6564
                 URL: https://jira.codehaus.org/browse/JRUBY-6564
             Project: JRuby
          Issue Type: Bug
          Components: Ruby 1.9.2
    Affects Versions: JRuby 1.6.7
            Reporter: Arturas Slajus
            Assignee: Thomas E Enebo
            Priority: Blocker


Something is very wrong with 1.6.7.

First hint was that doing `instance_eval(&block)` passed *self* to block. 
However I couldn't reproduce this as a standalone bug.

Now a method disappears from scope:

{noformat}
[3] pry(#<Celluloid::IO::TCPSocket>)> methods.grep(/wait/)
=> [:wait_readable, :wait_writable]
[4] pry(#<Celluloid::IO::TCPSocket>)> wait_writable
NoMethodError: undefined method `wait_writable' for 
#<Celluloid::Actor(ServerActor:0x1896) @sockets={#<ServerActor::Client:0xb7c4a0 
@host="127.0.0.1", @port=53435>=>#<Celluloid::IO::TCPSocket:0x1f996b9 
@socket=#<TCPSocket:fd 182>>} @server=#<Celluloid::IO::TCPServer:0x1168938 
@server=#<TCPServer:fd 181>>>
{noformat}

However I cannot reproduce this out of application too.

I'll keep investigating, however 1.6.6 doesn't do those things and things look 
logical in the code so the problem must lie in 1.6.7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

    http://xircles.codehaus.org/manage_email


Reply via email to