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 2014/04/28 21:58:15 UTC

[jira] [Updated] (DERBY-6501) change 10.10 version of CastingTest.java to build/run under jsr169

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

Myrna van Lunteren updated DERBY-6501:
--------------------------------------

    Attachment: DERBY-6501_1010.diff

Attaching a patch for the 10.10 branch which adds a hokey 'replace' method for the affected test case with j9 (using the ordinary String.replace with other jvms), and puts the test back where it was before.
This passed a run of the lang._Suite test with j9 and ibm 1.6.
I intend to commit this shortly.

> change 10.10 version of CastingTest.java to build/run under jsr169
> ------------------------------------------------------------------
>
>                 Key: DERBY-6501
>                 URL: https://issues.apache.org/jira/browse/DERBY-6501
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions: 10.10.2.0
>            Reporter: Mike Matrigali
>            Priority: Minor
>         Attachments: DERBY-6501_1010.diff
>
>
> As part of changes backported from trunk to 10.10, CastingTest.java no longer runs in jsr169.  Changes have been made to testing framework to not run the test in jsr169 - see change #1574618.
> In order to get this test to run again some java code needs be written 
> to replace the following java interface not available in jsr169:
> String.replace(CharSequence target, CharSequence replacement)



--
This message was sent by Atlassian JIRA
(v6.2#6252)