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

test DerbyNetAutoStart uses non-portable mechanism to check on derby.log

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.1.3.1
    • 10.1.3.1
    • Test
    • None
    • zOS

    Description

      The test DerbyNetAutoStart uses RandomAccessFile.readLine() on derby.log to find an occurrence of a String[] to decide whether the tests passes or not.

      This mechanism assumes that derby.log is in Unicode-compatible encoding, which may not be true.
      Also, readLine() documentation indicates that it does not support the 'full Unicode range', so may not be the best choice.

      And indeed, the test fails on zOS, even though the string looked for is present in derby.log.

      Attachments

        1. DERBY-1247_102_20060422.diff
          2 kB
          Myrna van Lunteren

        Activity

          People

            myrna Myrna van Lunteren
            myrna Myrna van Lunteren
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: