ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <A.Solofne...@mdl.com>
Subject Re: DO NOT REPLY [Bug 42219] - Inefficient code in Union, DirectoryScanner makes large copy tasks very slow
Date Tue, 24 Apr 2007 17:31:35 GMT
I think we should not limit supported features supported by modern Java 
while keeping backward compatibility with older versions. One way is to 
use reflection. Another is to provide an alternative implementation of 
some classes (FileResource) to be used with modern Java. The later is 
straightforward, but the most recent Java is required to build it.

If something could be done better with modern Java, why not to use it 
when possible?

- Alexey.

Peter Reilly wrote:
> For file permissions, I think we have to use refection to see if
> the file object supports the api.  I do not think that we can
> use pure java to check the permissions (except by using
> exec hackery) for pre java 1.4.
>
> Peter
>
> On 4/24/07, Alexey Solofnenko <trelony@gmail.com> wrote:
>> "No" for file permissions too?
>>
>> - Alexey.
>>
>> On 4/24/07, bugzilla@apache.org <bugzilla@apache.org> wrote:
>> >
>> > DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
>> > RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
>> > <http://issues.apache.org/bugzilla/show_bug.cgi?id=42219>.
>> > ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
>> > INSERTED IN THE BUG DATABASE.
>> >
>> > http://issues.apache.org/bugzilla/show_bug.cgi?id=42219
>> >
>> >
>> >
>> >
>> >
>> > ------- Additional Comments From peterreilly@apache.org  2007-04-24 
>> 10:09
>> > -------
>> > #1
>> > Thanks mike for the build.xml, it would be nicer
>> > to be completel self contained - perhaps a
>> > bash/python script to create a big directory, and the
>> > build.xml to use this (see:
>> >
>> > 
>> http://svn.apache.org/viewvc/ant/core/trunk/src/etc/performance/build.xml?revision=448449&view=markup

>>
>> > for an example of a selcontained test.
>> >
>> > #5
>> > I do not think that we should do this (provide a pre-jdk1.4 jar) for
>> > this problem.
>> >
>> >
>> >
>> > --
>> > Configure bugmail:
>> > http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
>> > ------- You are receiving this mail because: -------
>> > You are the assignee for the bug, or are watching the assignee.
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>> > For additional commands, e-mail: dev-help@ant.apache.org
>> >
>> >
>>
>>
>> -- 
>> Alexey N. Solofnenko
>> Home: http://trelony.cjb.net/
>> Pleasant Hill, CA (GMT-8 usually)
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org

-- 
------------------------------------------------------------------------
Alexey N. Solofnenko <http://trelony.cjb.net/>
Pleasant Hill, CA (GMT-8 usually)


Mime
View raw message