some small patches

Alexandre Oliva oliva at dcc.unicamp.br
Sun Apr 25 13:16:02 PDT 1999


On Apr 25, 1999, Archie Cobbs <archie at whistle.com> wrote:

> Alexandre Oliva writes:
>> > 	* libraries/clib/io/RandomAccessFile.c,
>> >  	libraries/javalib/java/io/RandomAccessFile.java: change
>> >  	constructor to throw FileNotFoundException
>> 
>> Throwing FileNotFoundException is correct, but the method declaration
>> still says it throws IOException, so I did not install the .java patch.

> What documentation are you looking at? This one:

>   http://java.sun.com/products/jdk/1.2/docs/api/java/io/RandomAccessFile.html

> says to throw FileNotFoundException for the (String, String)
> constructor.

Yup, but it says that the method is *declared* to throw IOException.

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists



More information about the kaffe mailing list