You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Myrna van Lunteren (JIRA)" <ji...@apache.org> on 2010/01/13 04:43:54 UTC

[jira] Resolved: (DERBY-4514) j2ME test failures relating to runtimeStatisticsParser

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

Myrna van Lunteren resolved DERBY-4514.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.6.0.0

regression tests ran without failures; committed the patch with revision 898638.

Will wait until there's a clean run with the j2ME before closing this.

> j2ME test failures relating to runtimeStatisticsParser
> ------------------------------------------------------
>
>                 Key: DERBY-4514
>                 URL: https://issues.apache.org/jira/browse/DERBY-4514
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.6.0.0
>         Environment: IBM's j9 and Sun's cvm-MR2
>            Reporter: Myrna van Lunteren
>            Assignee: Myrna van Lunteren
>             Fix For: 10.6.0.0
>
>         Attachments: DERBY-4514.diff
>
>
> After my change for DERBY-4038 to the runtimeStatisticsParser, the IBM tests show 44 errors and the Sun tests 48 - because I've used the String.split method which isn't available with j2ME.
> For example: 
> 1) testDynamicLikeOptimization(org.apache.derbyTesting.functionTests.tests.lang.DynamicLikeOptimizationTest)java.lang.NoSuchMethodError: java/lang/String.split(Ljava/lang/String;)[Ljava/lang/String;
> 	at org.apache.derbyTesting.junit.RuntimeStatisticsParser.getStartPosition(RuntimeStatisticsParser.java:421)
> 	at org.apache.derbyTesting.junit.RuntimeStatisticsParser.<init>(RuntimeStatisticsParser.java:81)
> 	at org.apache.derbyTesting.junit.SQLUtilities.getRuntimeStatisticsParser(SQLUtilities.java:125)
> 	at org.apache.derbyTesting.functionTests.tests.lang.DynamicLikeOptimizationTest.testDynamicLikeOptimization(DynamicLikeOptimizationTest.java:547)
> 	at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:195)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> 	at junit.extensions.TestSetup.run(TestSetup.java:23)
> 	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> The runtimeStatisticsParser code needs to be adjusted.

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