Re: DO NOT REPLY [Bug 42219] - Inefficient code in Union, DirectoryScanner makes large copy tasks very slow

2007-04-26 Thread Alexey Solofnenko
I would use inheritance instead of facades. - Alexey. On 4/26/07, Steve Loughran <[EMAIL PROTECTED]> wrote: Alexey N. Solofnenko wrote: > Classpath ordering is a usual practice that is used, for example, for > patching. yes, and it doesnt work with signed JARs. And, because doesnt impose an

Re: DO NOT REPLY [Bug 42219] - Inefficient code in Union, DirectoryScanner makes large copy tasks very slow

2007-04-26 Thread Steve Loughran
Alexey N. Solofnenko wrote: Classpath ordering is a usual practice that is used, for example, for patching. yes, and it doesnt work with signed JARs. And, because doesnt impose an order, you can't guarantee the order of use. The same classpath order could be used in debugger too. In our c

Re: DO NOT REPLY [Bug 42219] - Inefficient code in Union, DirectoryScanner makes large copy tasks very slow

2007-04-26 Thread Alexey N. Solofnenko
Classpath ordering is a usual practice that is used, for example, for patching. The same classpath order could be used in debugger too. In our case it could be hidden inside launcher. But there are other ways to achieve the same - for example, factories that can return Java6 specific FileResour

Re: DO NOT REPLY [Bug 42219] - Inefficient code in Union, DirectoryScanner makes large copy tasks very slow

2007-04-26 Thread Steve Loughran
Alexey N. Solofnenko wrote: Relying on order of stuff in classloaders is just wrong. -gets complicated when you bring signing into the bix -gets complex when the IDE sets up the build order -makes debugging a PITA. I think we should not limit supported features supported by modern Java while k

Re: DO NOT REPLY [Bug 42219] - Inefficient code in Union, DirectoryScanner makes large copy tasks very slow

2007-04-24 Thread Alexey N. Solofnenko
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 straightfo

Re: DO NOT REPLY [Bug 42219] - Inefficient code in Union, DirectoryScanner makes large copy tasks very slow

2007-04-24 Thread Peter Reilly
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 per

Re: DO NOT REPLY [Bug 42219] - Inefficient code in Union, DirectoryScanner makes large copy tasks very slow

2007-04-24 Thread Alexey Solofnenko
"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 . ANY REPLY MADE TO THIS MESS

DO NOT REPLY [Bug 42219] - Inefficient code in Union, DirectoryScanner makes large copy tasks very slow

2007-04-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 42219] - Inefficient code in Union, DirectoryScanner makes large copy tasks very slow

2007-04-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 42219] - Inefficient code in Union, DirectoryScanner makes large copy tasks very slow

2007-04-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 42219] - Inefficient code in Union, DirectoryScanner makes large copy tasks very slow

2007-04-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 42219] - Inefficient code in Union, DirectoryScanner makes large copy tasks very slow

2007-04-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 42219] - Inefficient code in Union, DirectoryScanner makes large copy tasks very slow

2007-04-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu