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 <[EMAIL PROTECTED]> wrote:
"No" for file permissions too?

- Alexey.

On 4/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to