[cp-patches] RFC: File bug Fix and small VM interface change

2008-04-09 Thread Mario Torre
Hello all! I would like to submit this fix. The problem is that to detect if a file is writable we actually open it for writing... Even worse, in the case of a directory, we write to it a temp file! There are a number of issues that I see wrong here, but what worries me most is that these

Re: [cp-patches] RFC: File bug Fix and small VM interface change

2008-04-09 Thread Ian Rogers
Hi Mario, this looks like a good patch so +1 from me. Just to note that we've been discussing the VMFile interface in a Jikes RVM tracker [1] and that on IRC MJW pointed out that GCJ's implementation appeared to vary from that of Classpath [2] [3] [4]. Regards, Ian [1]

Re: [cp-patches] RFC: File bug Fix and small VM interface change

2008-04-09 Thread Mario Torre
On Wed, 2008-04-09 at 19:59 +0100, Ian Rogers wrote: Hi Mario, this looks like a good patch so +1 from me. Just to note that we've been discussing the VMFile interface in a Jikes RVM tracker [1] and that on IRC MJW pointed out that GCJ's implementation appeared to vary from that of

[cp-patches] FYI: File bug Fix and small VM interface change

2008-04-09 Thread Mario Torre
On Wed, 2008-04-09 at 19:59 +0100, Ian Rogers wrote: Hi Mario, this looks like a good patch so +1 from me. Just to note that we've been discussing the VMFile interface in a Jikes RVM tracker [1] and that on IRC MJW pointed out that GCJ's implementation appeared to vary from that of

[cp-patches] java.util.scanner

2008-04-09 Thread Hernadi Laszlo Andras
Hello, in this archive there is all I have about the Scanner... in the gnu/testlet/java/util/Scanner is the MyScanner.java (which is going to be renamed to Scanner) and its testcases.. Laszlo gnu.tar.gz Description: application/gzip

[cp-patches] FYI: Qname and SAXParser Fixlets

2008-04-09 Thread Mario Torre
I've fixed a couple of small bugs in SAXParser and QName. SAXParser incorrectly throws SAXNotSupportedException, the spec says that this exception should be thrown if the property is recognized, but not supported. QName should throw IllegalArgumentException if the passed String is null. I've

[cp-patches] FYI: CopyOnWriteArrayList fixlets, part II

2008-04-09 Thread Mario Torre
This should fix the last stuff. Maybe the Iterator returned by this subList needs some love too, but for now I'm happy. It passes all the tck public domain tests :) I've just pushed a mauve test also. Ciao, Mario 2008-03-26 Mario Torre [EMAIL PROTECTED] *

[cp-patches] RFC: File bug Fix and small VM interface change

2008-04-09 Thread Mario Torre
Hello all! I would like to submit this fix. The problem is that to detect if a file is writable we actually open it for writing... Even worse, in the case of a directory, we write to it a temp file! There are a number of issues that I see wrong here, but what worries me most is that these