Re: [kaffe] Bug in FileInputStream

2002-06-10 Thread Dalibor Topic
hi Patrick, --- Patrick Tullmann [EMAIL PROTECTED] wrote: This strikes me as something that Mauve should have tests for (its more of a class library problem than a VM-specific problem). Can anyone who has played with Mauve look and see if this is a simple addition to that test suite? (I

Re: [kaffe] Bug in FileInputStream

2002-06-10 Thread Patrick Tullmann
Jukka wrote: JDK 1.1 API has the constructors only throwing IOException, though; since Kaffe doesn't support full Java2, it is more likely to be ran with JDK 1.1 applications. Actually, I didn't change the exception signature of the constructors. There was already code that mapped any

Re: [kaffe] Bug in FileInputStream

2002-06-10 Thread Dalibor Topic
--- Jukka Santala [EMAIL PROTECTED] wrote: On Sun, 9 Jun 2002, Patrick Tullmann wrote: I fixed this, and some related problems on FileOutputStream (its constructors were throwing IOException when they may only throw FileNotFoundException, and a 1.4 constructor taking (File, boolean)

Re: [kaffe] Bug in FileInputStream

2002-06-10 Thread Dalibor Topic
--- Patrick Tullmann [EMAIL PROTECTED] wrote: Jukka wrote: I think the way the libraries have been written to this point, is to follow the most recent available spec as much as possible. I think Yes, as far as I'm concerned ;) trying to support different versions of the JDK spec is

[kaffe] Bug in FileInputStream

2002-06-09 Thread Martin Lackner
Hi, I've a problem with kaffe (version 1.0.7-rc1) on an i686 system with Red Hat 7.1. I reduced the failure to the following small example. import java.io.FileInputStream; import java.io.File; public class KaffeFile { public static void main(String[] argv) throws Exception { File

Re: [kaffe] Bug in FileInputStream

2002-06-09 Thread Patrick Tullmann
Hi Martin, Thanks for putting together a nice small example for demonstrating the problem! I've got the same problem here, and I'll look into a fix (hopefully it will be a simple fix). This strikes me as something that Mauve should have tests for (its more of a class library problem than a

Re: [kaffe] Bug in FileInputStream

2002-06-09 Thread Patrick Tullmann
I've got the same problem here, and I'll look into a fix (hopefully it will be a simple fix). I fixed this, and some related problems on FileOutputStream (its constructors were throwing IOException when they may only throw FileNotFoundException, and a 1.4 constructor taking (File, boolean) was