[ 
https://issues.apache.org/jira/browse/DERBY-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13744973#comment-13744973
 ] 

Bryan Pendleton commented on DERBY-2343:
----------------------------------------

Hi Ahsan,

I'm not sure what is giving you that message; I definitely
get a different message when I try to run SysinfoAPITest.

Exactly what command did you invoke to run the SysinfoAPITest?

Here are two different ways that I use to run the test:

 1) ant 
-Dderby.junit.testclass=org.apache.derbyTesting.functionTests.tests.tools.SysinfoAPITest
 junit-single

 2) java -cp 
\users\Bryan\derby\trunk\jars\sane\derbyrun.jar;\users\bryan\derby\trunk\jars\sane\derbyTesting.jar;\users\bryan\derby\trunk\tools\java\junit.jar;\users\bryan\derby\trunk\tools\java\jakarta-oro-2.0.8.jar
 junit.textui.TestRunner 
org.apache.derbyTesting.functionTests.tests.tools.SysinfoAPITest


                
> sysinfo API only returns correct information for the first jar file on the 
> classpath
> ------------------------------------------------------------------------------------
>
>                 Key: DERBY-2343
>                 URL: https://issues.apache.org/jira/browse/DERBY-2343
>             Project: Derby
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 10.1.3.1, 10.2.1.6, 10.2.2.0, 10.3.1.4
>            Reporter: Andrew McIntyre
>            Priority: Trivial
>              Labels: derby_triage10_5_2
>
> While updating the sysinfo_api test to our current JUnit usage, I 
> rediscovered the problem which has kept this test from running on a regular 
> basis: when running the test from jar files, only the first jar file on the 
> classpath properly reports its information through the sysinfo API.
> It is not a security manager issue, as disabling the security manager did not 
> solve the problem. There may be jar-sealing issues involved, but I haven't 
> looked into the issue very deeply. Just noting the issue here for later 
> investigation.
> I will commit a patch which updates the current sysinfo_api test to be called 
> SysinfoAPITest, and also add a note to tools._Suite about the problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to