Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2004 13:19:05 +0200
From:      "Manfred Riem" <mriem@manorrock.org>
To:        <freebsd-java@freebsd.org>
Subject:   RandomAccessFile and 1.4
Message-ID:  <20040721111900.3901143D1D@mx1.FreeBSD.org>

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

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. 

Anyone a suggestion, besides dropping the 's' flag? I want to be sure 
the changes have been written to the underlying storage before continuing.

Regards,
Manfred Riem



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