[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: RandomAccessFile and 1.4
Hi Greg,
Works for me too ;). Thanx! Anything else I should stress test?
Regards,
Manfred Riem
> -----Original Message-----
> From: Greg Lewis [mailto:glewis@xxxxxxxxxxxxxx]
> Sent: Wednesday, July 21, 2004 7:18 PM
> To: Manfred Riem
> Cc: freebsd-java@xxxxxxxxxxx
> Subject: Re: RandomAccessFile and 1.4
>
> On Wed, Jul 21, 2004 at 01:19:05PM +0200, Manfred Riem wrote:
> > I've been trying to use the following code snippet using a
> RandomAccessFile.
> >
> > RandomAccessFile rfile = new RandomAccessFile( file, "rws" );
> > rfile.write( byte );
> >
> > The current version of the J2SDK 1.4 throws a
> FileNotFoundException,
> > while the Windows accepts it without any problems.
>
> The patch in my last response appears to correct this problem for me.
>
> For anyone else wanting to test it, you only get the
> FileNotFoundException if file already exists.
>
> --
> Greg Lewis Email : glewis@xxxxxxxxxxxxxx
> Eyes Beyond Web :
> http://www.eyesbeyond.com
> Information Technology FreeBSD : glewis@xxxxxxxxxxx
>