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

Myrna van Lunteren resolved DERBY-6762.
---------------------------------------
            Resolution: Fixed
         Fix Version/s: 10.10.2.1
              Assignee: Myrna van Lunteren
    Bug behavior facts: Regression Test Failure

I also spotted this in the build of one of my environments (which uses a rather 
convoluted set-up) as well as the test runs at IBM (see: 
http://people.apache.org/~myrnavl/derby_test_results/v10_10/linux/testSummary-1631010.html)
This was a missed backport item from changed done for DERBY-6563.
I replaced the Arrays.copyOf with a call to System.arraycopy with revision  
1631134 (http://svn.apache.org/r1631134)
Tests run since on the 10.10 branch are clean again:
http://people.apache.org/~myrnavl/derby_test_results/v10_10/linux/testSummary-1631140.html
and:
http://download.java.net/javadesktop/derby/request_5597546/
and
http://download.java.net/javadesktop/derby/request_5597620/

Resolving, and linking to DERBY-6563.

> Missing method error in CaseExpressionTest
> ------------------------------------------
>
>                 Key: DERBY-6762
>                 URL: https://issues.apache.org/jira/browse/DERBY-6762
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.10.2.1
>            Reporter: Rick Hillegas
>            Assignee: Myrna van Lunteren
>             Fix For: 10.10.2.1
>
>
> It looks as though the recent back ports to 10.10 have introduced a reference 
> to a method which was introduced in Java 6 and which does not exist in Java 
> 1.4: java.util.Arrays.copyOf( Object[], int ). See 
> http://download.java.net/javadesktop/derby/request_5597470/
> {noformat}
>     java.lang.NoSuchMethodError: 
> java.util.Arrays.copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
>       at 
> org.apache.derbyTesting.functionTests.tests.lang.CaseExpressionTest.testNotElimination(CaseExpressionTest.java:472)
>       at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:119)
>       at 
> org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:442)
>       at 
> org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:459)
>       at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>       at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
>       at junit.extensions.TestSetup.run(TestSetup.java:25)
>       at 
> org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to