felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From galaxy <tian.gal...@gmail.com>
Subject Re: About implementing harmony a osgi-ed jre
Date Mon, 08 Jun 2009 10:05:04 GMT
Thanks Glyn , invaluable to me .Other I may waste a lot of time on this .I
think I will discuss it with my mentor and make the decision then .
Thanks again !

2009/6/8 Glyn Normington <glyn@apache.org>

> Hi Tian
> I was involved in an effort a few years ago to enforce the Harmony module
> boundaries using Equinox, which sounds similar to the idea below. The
> problem with that approach was that we weren't able to restrict Equinox's
> use of Java to particular Harmony modules and so it was very difficult to
> bootstrap the system. Also, because of the way Java allows class loading to
> be deferred in some situations, it was impossible to know when bootstrapping
> was complete, so the option of bootstrapping in a "permissive" mode and then
> tightening up the rules later wasn't viable. In the end we concluded that
> the Harmony module boundaries would best be enforced by native code in the
> VM and we built a prototype which did just that. Unfortunately, the
> prototype was never released.
> I think you'll find as you get into this work that the main symptom is
> various kinds of recursive death, such as stack overflow. So if that
> approach doesn't work out, which I suspect it may not, you might consider
> taking one of the open source VMs associated with Harmony and building
> sufficient OSGi support into it for the Harmony modules.
> Sorry if this comes across a little negative. I think the objective would
> be very valuable to achieve and so I wish you well. For example, it would
> show that OSGi metadata is sufficient to implement Project Jigsaw.
> Glyn
> On 8 Jun 2009, at 06:57, galaxy wrote:
>  Hi ,all
>> I participate this year's google summer code in apache harmony
>> :implementing
>> osgi-ed jre and I want to use felix in my work to organize the modules of
>> harmony
>> So I think it's necessary to make you notified here :) and I want to ask
>> your permission on this .
>> Regarding to the project , I think I have to make some modification in the
>> source code in felix ,at least I have to export java.* .
>> Any rules I have to follow or anything else ,please let me know .
>> Thanks !
>> I think I will visit here a lot in this coming summer :)
>> --
>> regards
>> Tian


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message