Derby
  1. Derby
  2. DERBY-5504

SecureServerTest, Driver40UnbootedTest and replication tests not prepared for space in java.home

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.9.1.0
    • Fix Version/s: 10.9.1.0
    • Component/s: Test
    • Labels:
      None

      Description

      SecureServerTest, Driver40UnbootedTest and the replication tests fork JVMs by calling Runtime.exec() methods that take the command as a String parameter, not a String[]. This causes problems like the ones seen in DERBY-5490 when there's a space in $

      {java.home}

      .

      The tests should be rewritten to use the helper method BaseTestCase.execJavaCmd(), which handles this case correctly.

      1. d5504-1a.diff
        8 kB
        Knut Anders Hatlen
      2. d5504-2a.diff
        16 kB
        Knut Anders Hatlen

        Issue Links

          Activity

            People

            • Assignee:
              Knut Anders Hatlen
              Reporter:
              Knut Anders Hatlen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development