Blocking Java calls don't work with timeout
-------------------------------------------

                 Key: JRUBY-1506
                 URL: http://jira.codehaus.org/browse/JRUBY-1506
             Project: JRuby
          Issue Type: Bug
         Environment: Mac
            Reporter: Logan Barnett
            Assignee: Thomas E Enebo
             Fix For: JRuby 1.1


require 'timeout'
require 'java'

timeout 3 do 
   javax.swing.JOptionPane.show_message_dialog(nil, "asdf")
end

This app will just hang. I've experienced similar things with using Java's 
UDPSocket, and with some things that stick with SNMP4J.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.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