On 9/20/06, Andrey Yakushev <[EMAIL PROTECTED]> wrote:

Do I understand correctly, that j.l.management support could be
implemented for DRLVM as follows:

1. Integrate HARMONY-1407 into classlib and obtain
UnsatisfiedLinkError on DRLVM.
2. Implement native methods in kernel classes as stubs returning some
realistic values. It could allow test and jconsole running.
3. Replace these stabs one by one with possible adding of the
interface functions in DRLVM modules like GC and TM.


Great. It's a good plan.

Really I have tried to go through this plan "ahead of time" :)
Currently I wrote native methods stubs and made run for the tests from
HARMONY-1407. The result is:
   Tests run: 90,  Failures: 15,  Errors: 9
   13 failures is StackTraceElement similar as Rui mentioned.


It's easy to fix.

  8 errors due to not implemented method
       at java.util.logging.LogManager.getLoggingMXBean(LogManager.java
:154)


It's easy to fix too. Just add one simple method to LogManager.

Other 3 problems needs additional investigation


Can you list out them?
I found that most native methods of this component are related with VM
platform, and some Java methods are called by native code(e.g. [1]) . Maybe
some of them are hard to replaced by simple stubs.

Is my activity helpful?

Ya, so helpful, I have more faith on this contribution now.

[1] MemoryMXBeanImpl.createMemoryManagerHelper(String name, int internalID,
boolean isGC)

Nathan, do you have similar or different plan for HARMONY-1407 integration?

Thanks,
Andrey


On 9/18/06, Rui Hu <[EMAIL PROTECTED]> wrote:
> As I know so far, there is only java code in HARMONY-1407
> So, you can build the code on RI, Harmony(only fail on a signal bug of
> java.lang.StackTraceElement in luni-kernel.jar), and IBM JDK
successfully.
> But the native code of j.l.management is not available now, so you'll
fail
> if you run the tests on Harmony, and got an UnsatisfiedLinkError.


On 9/18/06, Geir Magnusson Jr. <[EMAIL PROTECTED]> wrote:
> Yes. I have some docs that need to be put in SVN - I hope to do that
> today.  Once we do that, we need to simply vote to accept the code.
>
> If you start working with it ahead of time, that will be good :)
>
> geir
>
>
> Nathan Beyer wrote:
> > Are there any documents or anything that needs to be resolved before I
can
> > start working on the code in HARMONY-1407?
> >
> >
> >
> > http://issues.apache.org/jira/browse/HARMONY-1407
> >
> >
> >
> > -Nathan
> >
> >
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Robert Hu
China Software Development Lab, IBM

Reply via email to