db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DERBY-5504) SecureServerTest, Driver40UnbootedTest and replication tests not prepared for space in java.home
Date Wed, 16 Nov 2011 13:06:51 GMT
SecureServerTest, Driver40UnbootedTest and replication tests not prepared for space in java.home
------------------------------------------------------------------------------------------------

                 Key: DERBY-5504
                 URL: https://issues.apache.org/jira/browse/DERBY-5504
             Project: Derby
          Issue Type: Bug
          Components: Test
    Affects Versions: 10.9.0.0
            Reporter: Knut Anders Hatlen


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message