Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: JRuby 1.6.3, JRuby 1.6.4
    • Fix Version/s: None
    • Component/s: Standard Library
    • Labels:
    • Environment:
      Mac OS X 10.6.8
      java version "1.6.0_26"
      Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425)
      Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)
    • Number of attachments :
      0

      Description

      When there's nothing to read, TCPSocket#read blocks (indefinitely?) when passed zero. MRI returns an empty string immediately.

      This causes https://github.com/thoughtbot/capybara-webkit to hang.

        Activity

          People

          • Assignee:
            Thomas E Enebo
            Reporter:
            John Hume
          • Votes:
            3 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: