harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@4quarters.com>
Subject Re: Bootstrapping the classlibrary builds
Date Mon, 26 Dec 2005 22:52:45 GMT

On Dec 25, 2005, at 5:13 PM, Tim Ellison wrote:

> Stefano Mazzocchi wrote:
>> Maybe I'm missing something, but if A depends on B and B depends  
>> on A,
>> isn't the separation between A and B something to reconsider?
> I agree that we should be minimizing these circular dependencies,  
> but if
> you make their avoidance a hard rule then you soon end up dragging  
> lots
> of code into a single massive-component.

Is that really true?  The component can be a packaging artifact,  
can't it?  build a pile of class files in the easiest way possible,  
and then package as you need to...

> Some of the API circularities are quite minimal.  For example  
> regular IO
> in the LUNI component depends upon NIO because, amongst a few other
> cases, java.io.FileInputStream.getChannel() returns a
> java.nio.channels.FileChannel which in turn may throw a  
> java.io.IOException.
> I believe that the set of circular dependencies can be managed down  
> to a
> small number, and the extra modularity gives greater flexibility.
> Regards,
> Tim
> -- 
> Tim Ellison (t.p.ellison@gmail.com)
> IBM Java technology centre, UK.

Geir Magnusson Jr                                  +1-203-665-6437

View raw message