RandomAccessFile and 1.4
glewis at eyesbeyond.com
Wed Jul 21 10:17:49 PDT 2004
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
> 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