[ 
https://issues.apache.org/jira/browse/DERBY-4806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lily Wei updated DERBY-4806:
----------------------------

    Attachment: DERBY-4806-2.diff

DERBY-4806-2.diff is the patch that run fine if derbyTesitng.jar is in 
different directory than derbyrun.jar.

If we are running the tools._Suite, Main.formatURL(...) failed to return the 
name of the file for derbyTesting.jar if it is located in different directory 
than derbyrun.jar. I remember for the discussion of Derby-4715 
https://issues.apache.org/jira/browse/DERBY-4715?focusedCommentId=12887533&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12887533

It is best to just use URL.toString() to extract the file information. That is 
what I did here. However, I think it should handle Encoding for UTF8 as in 
formatURL in this case. Any suggestion is welcome.
This patch also take out db2jcc.jar related code for Main.jar and 
SysinfoCPCheckTest.jar. The code is ready for review. I am running the test now.

> SysinfoCPCheckTest fail on different Windows platforms on 10.6.2.0 release 
> candidate 
> -------------------------------------------------------------------------------------
>
>                 Key: DERBY-4806
>                 URL: https://issues.apache.org/jira/browse/DERBY-4806
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions: 10.6.1.0
>         Environment: Windows
>            Reporter: Lily Wei
>            Priority: Minor
>         Attachments: DERBY-4806-1.diff, DERBY-4806-2.diff, rjall.out
>
>
> For the preliminary platform testing [1] Kathey, Dag and Lily
> have seen SysinfoCPCheckTest fail on different Windows platforms(XP and 
> Windows 7) when
> run as part of suitesAll.
> [1] http://wiki.apache.org/db-derby/TenSixTwoPlatformTesting
> Thanks to Myrna points out that it could relate to DERBY-3771.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to