RandomAccessFile and 1.4
Manfred Riem
mriem at manorrock.org
Mon Jul 26 04:15:30 PDT 2004
Hi Greg,
Works for me too ;). Thanx! Anything else I should stress test?
Regards,
Manfred Riem
> -----Original Message-----
> From: Greg Lewis [mailto:glewis at eyesbeyond.com]
> Sent: Wednesday, July 21, 2004 7:18 PM
> To: Manfred Riem
> Cc: freebsd-java at freebsd.org
> 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 at eyesbeyond.com
> Eyes Beyond Web :
> http://www.eyesbeyond.com
> Information Technology FreeBSD : glewis at FreeBSD.org
>
More information about the freebsd-java
mailing list