You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by "Jimmy, Jing Lv" <fi...@gmail.com> on 2006/08/24 10:16:12 UTC
[ClassLib][Instrument]Put tests to Harmony (and Support_Exec)
Hi,
The development on instrument is going to an end (I may still apply
a few patches of refine). And the tests for it do help a lot in finding
bugs and applying compatibility with RI, and special thanks to Stepan
and "Support_Exec". :)
However, I still have a problem with Support_Exec, it usually, if
not always, meets a problem in loading kernel classes. Tracing into the
code, I find it add a parameter "-Xbootclasspath:" to launcher with a
System Property("com.ibm.oti.system.class.path", I'm using J9 for DRLVM
not ready for jvmti yet). But the property was null on my workspace.
After deleting that parameter, I get all tests pass using both Ant and
eclipse. So can someone tell me how to handle this? Or can I make a
little update to it?
All existing tests has pass on both Harmony and RI in my
workspace(Linux/windows) when make a little change to lib name. Though
VM may not be updated for it very soon, I'd like to add tests to
Harmony, make it excluded first until VM ready, in order that some one
who is interested can check by making a little change and run tests. Any
comments/suggestions?
--
Best Regards!
Jimmy, Jing Lv
China Software Development Lab, IBM
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [ClassLib][Instrument]Put tests to Harmony (and Support_Exec)
Posted by Oliver Deakin <ol...@googlemail.com>.
Jimmy, Jing Lv wrote:
> Oliver Deakin wrote:
>> Jimmy, Jing Lv wrote:
>>> Hi,
>>> The development on instrument is going to an end (I may still
>>> apply a few patches of refine). And the tests for it do help a lot
>>> in finding bugs and applying compatibility with RI, and special
>>> thanks to Stepan and "Support_Exec". :)
>>> However, I still have a problem with Support_Exec, it usually,
>>> if not always, meets a problem in loading kernel classes. Tracing
>>> into the code, I find it add a parameter "-Xbootclasspath:" to
>>> launcher with a System Property("com.ibm.oti.system.class.path", I'm
>>> using J9 for DRLVM not ready for jvmti yet). But the property was
>>> null on my workspace. After deleting that parameter, I get all tests
>>> pass using both Ant and eclipse. So can someone tell me how to
>>> handle this? Or can I make a little update to it?
>>
>> One problem here will be that com.ibm.oti.system.class.path went out
>> with VME v3.
>> In VME v4 we use org.apache.harmony.boot.class.path (see
>> modules\luni\src\main\native\luni\shared\luniglob.c). Looking at
>> Support_Exec, it
>> appears that this setting is out of date and should be updated with
>> the new value.
>> Does this fix your problem?
>>
>
> I see :)
> So could I fix this value?
Yes - I'd say it definitely *should* be fixed!
Regards,
Oliver
>
>>>
>>> All existing tests has pass on both Harmony and RI in my
>>> workspace(Linux/windows) when make a little change to lib name.
>>> Though VM may not be updated for it very soon, I'd like to add tests
>>> to Harmony, make it excluded first until VM ready, in order that
>>> some one who is interested can check by making a little change and
>>> run tests. Any comments/suggestions?
>>
>> Sounds like a good idea - it seems that the workaround to run on the
>> IBM VME
>> is pretty straightforward, so people will be able to run the tests if
>> they want to.
>> Then when a new VME is out and/or drlvm catches up we can make the tests
>> "live".
>>
>
> Great, if no objections I'll apply tests soon :)
>
>> Regards,
>> Oliver
>>
>
>
--
Oliver Deakin
IBM United Kingdom Limited
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [ClassLib][Instrument]Put tests to Harmony (and Support_Exec)
Posted by "Jimmy, Jing Lv" <fi...@gmail.com>.
Oliver Deakin wrote:
> Jimmy, Jing Lv wrote:
>> Hi,
>> The development on instrument is going to an end (I may still
>> apply a few patches of refine). And the tests for it do help a lot in
>> finding bugs and applying compatibility with RI, and special thanks to
>> Stepan and "Support_Exec". :)
>> However, I still have a problem with Support_Exec, it usually, if
>> not always, meets a problem in loading kernel classes. Tracing into
>> the code, I find it add a parameter "-Xbootclasspath:" to launcher
>> with a System Property("com.ibm.oti.system.class.path", I'm using J9
>> for DRLVM not ready for jvmti yet). But the property was null on my
>> workspace. After deleting that parameter, I get all tests pass using
>> both Ant and eclipse. So can someone tell me how to handle this? Or
>> can I make a little update to it?
>
> One problem here will be that com.ibm.oti.system.class.path went out
> with VME v3.
> In VME v4 we use org.apache.harmony.boot.class.path (see
> modules\luni\src\main\native\luni\shared\luniglob.c). Looking at
> Support_Exec, it
> appears that this setting is out of date and should be updated with the
> new value.
> Does this fix your problem?
>
I see :)
So could I fix this value?
>>
>> All existing tests has pass on both Harmony and RI in my
>> workspace(Linux/windows) when make a little change to lib name. Though
>> VM may not be updated for it very soon, I'd like to add tests to
>> Harmony, make it excluded first until VM ready, in order that some one
>> who is interested can check by making a little change and run tests.
>> Any comments/suggestions?
>
> Sounds like a good idea - it seems that the workaround to run on the IBM
> VME
> is pretty straightforward, so people will be able to run the tests if
> they want to.
> Then when a new VME is out and/or drlvm catches up we can make the tests
> "live".
>
Great, if no objections I'll apply tests soon :)
> Regards,
> Oliver
>
--
Best Regards!
Jimmy, Jing Lv
China Software Development Lab, IBM
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org
Re: [ClassLib][Instrument]Put tests to Harmony (and Support_Exec)
Posted by Oliver Deakin <ol...@googlemail.com>.
Jimmy, Jing Lv wrote:
> Hi,
> The development on instrument is going to an end (I may still
> apply a few patches of refine). And the tests for it do help a lot in
> finding bugs and applying compatibility with RI, and special thanks to
> Stepan and "Support_Exec". :)
> However, I still have a problem with Support_Exec, it usually, if
> not always, meets a problem in loading kernel classes. Tracing into
> the code, I find it add a parameter "-Xbootclasspath:" to launcher
> with a System Property("com.ibm.oti.system.class.path", I'm using J9
> for DRLVM not ready for jvmti yet). But the property was null on my
> workspace. After deleting that parameter, I get all tests pass using
> both Ant and eclipse. So can someone tell me how to handle this? Or
> can I make a little update to it?
One problem here will be that com.ibm.oti.system.class.path went out
with VME v3.
In VME v4 we use org.apache.harmony.boot.class.path (see
modules\luni\src\main\native\luni\shared\luniglob.c). Looking at
Support_Exec, it
appears that this setting is out of date and should be updated with the
new value.
Does this fix your problem?
>
> All existing tests has pass on both Harmony and RI in my
> workspace(Linux/windows) when make a little change to lib name. Though
> VM may not be updated for it very soon, I'd like to add tests to
> Harmony, make it excluded first until VM ready, in order that some one
> who is interested can check by making a little change and run tests.
> Any comments/suggestions?
Sounds like a good idea - it seems that the workaround to run on the IBM VME
is pretty straightforward, so people will be able to run the tests if
they want to.
Then when a new VME is out and/or drlvm catches up we can make the tests
"live".
Regards,
Oliver
--
Oliver Deakin
IBM United Kingdom Limited
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org