Update: Thanks for Sian's original patch.

Here is an updated patch for derby on which Harmony passes 97%. derby.patch

It focuses on:

1. Add a Harmony support class to identify the Harmony VME.

2. Add a j9_23 support class that is required for Harmony IBM VME.(drlvm needs jdk112, which should override setSecurityProps like j9 series. Or else with security manager installed, drlvm will also crash during test.)

3.Modification in RunTest,RunSuite and SysInfoLog, which prevents to treat Harmony IBM VME as "j9" VM but like normal RI VM.

4.Modification in dbManagerLimits_app.properties,wisconsin_app.properties and triggerStream_app.properties to delete currently not acceptable VM options.


467 Tests Run

97% Pass (454 tests passed)

5 Suites skipped

Currently Fails:


Besides, some testcase fails even on RI. I exclude a "derbynetclientmats" test suit since it will hang both RI and Harmony.

How to test: 1.Download source code from Derby svn http://svn.apache.org/repos/asf/db/derby/code/trunk

2.Apply the derby.patch to it.

3.Refer to Derby's instructions to build source code as well as tests. (ant/ant testing)


4.Set CLASSPATH to DERBY_ROOT/classes, jakarta-oro-2.0.8.jar and junit.jar.

The simplest test is

java org.apache.derbyTesting.functionTests.harness.RunTest lang/supersimple.sql

If it passes, you will get supersimple.pass file in the directory of running.

To run all test:

java org.apache.derbyTesting.functionTests.harness.RunSuite derbyall

You will get derbyall.report, derbyall.fail, derbyall.pass which include information about tests.

Apache_Derby (last edited 2009-09-20 21:54:22 by localhost)