Hi, Sian:
    After some study, I found that it is necessary to treat j9
seperately,....mmm about security and vm library loader. I have not spot the
precise place.
    I think we have first to get a wrapper jvm class like j9_13 derby gives
but not other standard wrapper class. Then we have to rewrite it java
command-line as "java" but not "j9". Am I all right?
    Besides, it will be helpful if you can post your patch of Derby on the
http://wiki.apache.org/harmony/Apache_Derby.:)
    Thank you.



On 10/12/06, Sian January <[EMAIL PROTECTED]> wrote:

Hi Leo,

I have previously run the Derby tests on Harmony with the IBM VME (see the
Wiki page - http://wiki.apache.org/harmony/Apache_Derby).  I had to make
some changes to Derby to get it to run, but from reading the bug report it
sounds like you found a way round it too.  If not then let me know and I
could send you a patch or post one here or something.  I wasn't using
DRLVM
so I haven't seen the bug you're describing.  Running with the IBM VME I
got
82% of the tests passing.  I looked at some of the test failures but not
in
very much depth.  However some of them seemed to be because the different
VMs had differently formatted output, so not necessarily a bug.  I think
that's one of the reasons why the tests need to know what VM they are
using.  The tests have different output files for different VMs that they
compare with the actual output for each test.

Just as a side point, several people have looked at applications in the
past
including myself and have posted the results on the Wiki (
http://wiki.apache.org/harmony/Application_Status).  So if anyone is
having
a problem running a particular application it might be worth having a look
to check if someone has done it before.  Or we could suggest that everyone
posts this kind of thing to the mailing list in future if that's more
likely
to be found.

Regards,

Sian



On 12/10/06, Leo Li <[EMAIL PROTECTED]> wrote:
>
> Hi, all:
>     I now plan to make the self-host of Derby on Harmony.
>     Is there anyone interested in this topic?
>
>     Here is what I encountered in the process. Hope it will be helpful
to
> anybody who is interested in it.
>
>     At first, the testcases even fails on RI both on windows and ubuntu
> and
> the result are different.???
>     After some struggiling, I have successfully passed the provided
> testcases on RI after I rebuild the source on my machine.
>     But there still remains a problem:
>     The derby team kindly rewrite the launcher for testcases in order to
> treat J9 vm differently if the property java.vm.name starts with "j9".
But
> the j9 vm used in Harmony has been customized thus is different from
> traditional j9 vm that is expected by derby. This leads to failure to
> launch
> tests.
>     I will talk on Derby's mailing list to find a solution.
>
> --
> Leo Li
> China Software Development Lab, IBM
>
>


--
Sian January

IBM Java Technology Centre, UK




--
Leo Li
China Software Development Lab, IBM

Reply via email to