+2001-07-12 Tom Tromey <tromey@redhat.com>
+
+ Report from Henner Zeller:
+ * java/io/FileOutputStream.java (FileOutputStream): Throw
+ FileNotFoundException, not IOException.
+
2001-07-10 Anthony Green <green@redhat.com>
* Makefile.in: Rebuilt.
* Makefile.in: Regenerate.
* java/lang/ThreadLocal.java: Initial import.
-2001-07-07 Jeff Sturm <jsturm@one-point.com
+2001-07-07 Jeff Sturm <jsturm@one-point.com>
* Makefile.am (libgcj.jar): Don't recursively make
built_java_source_files. Avoid long command lines.
// FileOutputStream.java - Write bytes to a file.
-/* Copyright (C) 1998, 1999 Free Software Foundation
+/* Copyright (C) 1998, 1999, 2001 Free Software Foundation
This file is part of libgcj.
public class FileOutputStream extends OutputStream
{
public FileOutputStream (String path, boolean append)
- throws SecurityException, IOException
+ throws SecurityException, FileNotFoundException
{
SecurityManager s = System.getSecurityManager();
if (s != null)
: FileDescriptor.WRITE));
}
- public FileOutputStream (String path) throws SecurityException, IOException
+ public FileOutputStream (String path)
+ throws SecurityException, FileNotFoundException
{
this (path, false);
}
- public FileOutputStream (File file) throws SecurityException, IOException
+ public FileOutputStream (File file)
+ throws SecurityException, FileNotFoundException
{
this (file.getPath(), false);
}
- public FileOutputStream (FileDescriptor fdObj) throws SecurityException
+ public FileOutputStream (FileDescriptor fdObj)
+ throws SecurityException
{
SecurityManager s = System.getSecurityManager();
if (s != null)