RE: Suggested Runtime change and small Thread fix

2003-11-21 Thread Jeroen Frijters
Mark Wielaard wrote: On Thu, 2003-11-20 at 12:17, Jeroen Frijters wrote: I would like to move the code to run the shutdown hooks from exit() to a new method. This allows me to also run the shutdown hooks if the process termination is triggered by code outside of Java (in my .NET JVM). I

small bug report for java.io.FileInputStream

2003-11-21 Thread Dalibor Topic
Hi all, the constructors in FileInputstream don't throw a FileNotFoundException when the File to open as an InputStream is actually a directory, as they should do. I've attached a test case that demonstrates the bug. While there is a patch in kaffe for this bug, it existed in a previous form

[PATCH] DatagramSocket bind (null) fix

2003-11-21 Thread Dalibor Topic
Hi all, attached is a small patch from Guilhem hat fixes the behaviour of DatagramSocket.bind(null) to match the API spec in 1.4.2, i.e. pick an ephemeral port and a local address to bind to. 2003-11-21 Guilhem Lavaux [EMAIL PROTECTED] *

Re: [PATCH] DatagramSocket bind (null) fix

2003-11-21 Thread Dalibor Topic
Dalibor Topic wrote: Hi all, attached is a small patch from Guilhem hat fixes the behaviour of DatagramSocket.bind(null) to match the API spec in 1.4.2, i.e. pick an ephemeral port and a local address to bind to. 2003-11-21 Guilhem Lavaux [EMAIL PROTECTED] *

[PATCH] DatagramSocket constrcutor fixes

2003-11-21 Thread Dalibor Topic
Hi all, attached is another patch from Guilhem that fixes DatagramSocket constructor behaviour comments. It resulted as a fix to a bug report to the kaffe mailing list from Everton da Silva Marques [1]. Please also take a look at the discussion in the thread about other approaches to fix the

Re: small bug report for java.io.FileInputStream

2003-11-21 Thread Sascha Brawer
Hi Dalibor, I've attached a test case that demonstrates the bug. Would you mind re-formulating this as a Mauve test case? It's really not much work, and it would mean that we have another thing that gets automatically tested. Thanks a lot, -- Sascha Sascha Brawer, [EMAIL PROTECTED],

Re: small bug report for java.io.FileInputStream

2003-11-21 Thread Dalibor Topic
Hallo Sascha, Sascha Brawer wrote: Hi Dalibor, I've attached a test case that demonstrates the bug. Would you mind re-formulating this as a Mauve test case? It's really not much work, and it would mean that we have another thing that gets automatically tested. No, I wouldn't mind at all. ;)

[PATCH] Compliance of DecimalFormatSymbols

2003-11-21 Thread Guilhem Lavaux
Hi, Here is an adaptation of the former patch concerning java/text. This one is small and concerns only java/text/DecimalFormatSymbols. According to the official specification, if the serial version is greater than 2, you have to read the locale field. This is what is done here. Regards, Guilhem.

[PATCH] Fix for Hashtable contains blowing up the stack

2003-11-21 Thread Dalibor Topic
Hi all, attached is my fix to make ant (I think) work again with Classpath, fixing the bug reported by Jim Pick here [1] Citing myself [2]: this is a typical java library bug, and I've both produced and fixed a couple of those myself ;) You get an infinite recursion through calling overridden

Re: [PATCH] Fix for Hashtable contains blowing up the stack

2003-11-21 Thread Dalibor Topic
Dalibor Topic wrote: Hi all, attached is my fix to make ant (I think) work again with Classpath, fixing the bug reported by Jim Pick here [1] Citing myself [2]: this is a typical java library bug, and I've both produced and fixed a couple of those myself ;) You get an infinite recursion

[PATCH] NumberFormat

2003-11-21 Thread Guilhem Lavaux
Hi, Here is just a patch to review about NumberFormat.Field before I check it in. It implements java.text.NumberFormat.Field it is quite straightforward using the documentation. Regards, Guilhem. ChangeLog entry: 2003-11-21 Guilhem Lavaux [EMAIL PROTECTED] * java/text/NumberFormat.java

Re: [PATCH] Fix for Hashtable contains blowing up the stack

2003-11-21 Thread Dalibor Topic
Dalibor Topic wrote: Dalibor Topic wrote: Hi all, attached is my fix to make ant (I think) work again with Classpath, fixing the bug reported by Jim Pick here [1] Citing myself [2]: this is a typical java library bug, and I've both produced and fixed a couple of those myself ;) You get an

[PATCH] Two methods for NumberFormat

2003-11-21 Thread Guilhem Lavaux
Hi, I am continuing the series of patches with that one, it adds two methods to NumberFormat: getIntegerInstance() and getIntegerInstance(Locale). They have to be implemented according to Java 1.4. Please review it before I check it in. Regards, Guilhem. Index: java/text/NumberFormat.java

Re: [PATCH] NumberFormat

2003-11-21 Thread Dalibor Topic
Hi Guilhem, Guilhem Lavaux wrote: Hi, Here is just a patch to review about NumberFormat.Field before I check it in. It implements java.text.NumberFormat.Field it is quite straightforward using the documentation. Looks good to me in general, I have small remarks before you check it in: Index:

Re: new jalopy available

2003-11-21 Thread Raif S. Naffah
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On Tue, 18 Nov 2003 12:19 pm, Tom Tromey wrote: ... I made a new release with these improvements. Once again, it is here: ftp://sources.redhat.com/pub/java/jalopy-console-1.0.4.tar.gz jalopy is able to handle grouping, and sorting, of

Re: [PATCH] Compliance of DecimalFormatSymbols

2003-11-21 Thread Dalibor Topic
Salut Guilhem, Guilhem Lavaux wrote: Hi, Here is an adaptation of the former patch concerning java/text. This one is small and concerns only java/text/DecimalFormatSymbols. According to the official specification, if the serial version is greater than 2, you have to read the locale field. This

Re: new jalopy available

2003-11-21 Thread Dalibor Topic
Hi Raif, Raif S. Naffah wrote: -BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On Tue, 18 Nov 2003 12:19 pm, Tom Tromey wrote: ... I made a new release with these improvements. Once again, it is here: ftp://sources.redhat.com/pub/java/jalopy-console-1.0.4.tar.gz jalopy is able to handle

Re: [PATCH] DatagramSocket constrcutor fixes

2003-11-21 Thread Michael Koch
On Fri, Nov 21, 2003 at 07:00:10PM +0100, Dalibor Topic wrote: Hi all, attached is another patch from Guilhem that fixes DatagramSocket constructor behaviour comments. It resulted as a fix to a bug report to the kaffe mailing list from Everton da Silva Marques [1]. Please also take a

gnu-crypto.m4. was: new jalopy available

2003-11-21 Thread Raif S. Naffah
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 hello Dalibor, (i'm cc-ing GNU Crypto) On Sat, 22 Nov 2003 10:51 am, Dalibor Topic wrote: ... p.s. is there some kind of gnu-crypto.m4 file for automake to add a --with-gnu-crypto option to it? I'd love having a simple way to chuck in GNU

GraphicsConfigTemplate

2003-11-21 Thread James Simmons
Hi! I'm writing a X window AWt for Classpath. At present I'm working on the Graphics*.java classes. I figured out how to write native code for all the classes except for GraphicsConfigTemplate. How do you use the enum fields? I can't figure it out.

Re: [PATCH] Fix for Hashtable contains blowing up the stack

2003-11-21 Thread Mark Wielaard
Hi, On Fri, 2003-11-21 at 20:48, Dalibor Topic wrote: this is a typical java library bug, and I've both produced and fixed a couple of those myself ;) You get an infinite recursion through calling overridden methods. Class A in library implements public methods b and c, where b