Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-1694

derbynet/testProperties.java hangs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.3.1.4
    • 10.2.1.6, 10.3.1.4
    • Test
    • None
    • Windows XP IBM 142 JRE
    • Normal
    • Regression Test Failure

    Description

      The testProperties.execCmd() is used to fork a JVM and not handle its
      streams. This will cause problems, as indicated by the javadoc for Process.

      "The parent process uses these streams to feed input to and get output
      from the subprocess. Because some native platforms only provide limited
      buffer size for standard input and output streams, failure to promptly
      write the input stream or read the output stream of the subprocess may
      cause the subprocess to block, and even deadlock"

      Attachments

        1. derby1694diff.txt
          3 kB
          Daniel John Debrunner
        2. derby1694.p2.diff.txt
          7 kB
          Sunitha Kambhampati
        3. derby1694.p2.stat.txt
          1 kB
          Sunitha Kambhampati

        Issue Links

          Activity

            People

              skambha Sunitha Kambhampati
              djd Daniel John Debrunner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: