From owner-freebsd-java@FreeBSD.ORG Wed Jul 21 11:19:00 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EC6116A4CE for ; Wed, 21 Jul 2004 11:19:00 +0000 (GMT) Received: from smtpout03-04.mesa1.secureserver.net (smtpout03-04.mesa1.secureserver.net [64.202.165.74]) by mx1.FreeBSD.org (Postfix) with SMTP id 3901143D1D for ; Wed, 21 Jul 2004 11:19:00 +0000 (GMT) (envelope-from mriem@manorrock.org) Received: (qmail 32295 invoked from network); 21 Jul 2004 11:18:58 -0000 Received: from unknown (212.187.123.12) by smtpout03-04.mesa1.secureserver.net (64.202.165.74) with ESMTP; 21 Jul 2004 11:18:58 -0000 From: "Manfred Riem" To: Date: Wed, 21 Jul 2004 13:19:05 +0200 Organization: Manor 'n Rock MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Thread-Index: AcRvFIiG2CG0l9cATvCnh6UqLRIuTQ== Message-Id: <20040721111900.3901143D1D@mx1.FreeBSD.org> Subject: RandomAccessFile and 1.4 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mriem@manorrock.org List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jul 2004 11:19:00 -0000 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