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/12 23:13:54 UTC

[jira] Updated: (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 updated DERBY-4514:
--------------------------------------

    Attachment: DERBY-4514.diff

Attaching a patch that uses org.apache.derbyTesting.junit.Utilities.split for j2ME.

DynamicLikeOptimizationTest, one of the tests that failed before, passes with this patch.

I'm running suites.All with j9 and will then do same with ibm jdk 1.6, to be sure I don't introduce another problem, and commit after that's all ok.

> 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
>         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.