Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 2004 13:15:23 +0200
From:      "Manfred Riem" <mriem@manorrock.org>
To:        "'Greg Lewis'" <glewis@eyesbeyond.com>
Cc:        freebsd-java@freebsd.org
Subject:   RE: RandomAccessFile and 1.4
Message-ID:  <20040726111526.4611B43D31@mx1.FreeBSD.org>
In-Reply-To: <20040721171746.GA24519@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Greg,

Works for me too ;). Thanx! Anything else I should stress test?

Regards,
Manfred Riem

> -----Original Message-----
> From: Greg Lewis [mailto:glewis@eyesbeyond.com] 
> Sent: Wednesday, July 21, 2004 7:18 PM
> To: Manfred Riem
> Cc: freebsd-java@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@eyesbeyond.com
> Eyes Beyond                         Web     : 
> http://www.eyesbeyond.com
> Information Technology              FreeBSD : glewis@FreeBSD.org
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040726111526.4611B43D31>