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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.9.1.0
    • 10.9.1.0
    • Test
    • 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.

      Attachments

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

        Issue Links

          Activity

            People

              knutanders Knut Anders Hatlen
              knutanders Knut Anders Hatlen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: