a patch for the libraries

Aaron Place beavis at ihug.co.nz
Wed Mar 10 12:26:45 PST 1999


Archie Cobbs writes:
>The EmptyStackException exceptions are supposed to be declared according to:
>
>  http://java.sun.com/products/jdk/1.2/docs/api/java/util/Stack.html

That's not the way that I read the docs.  For example look at:

http://java.sun.com/products/jdk1.2/docs/api/java/lang/Class.html#newInstance()

My understanding is that the checked exceptions are stated at the top
as part of the method signature and that the RuntimeExceptions and
Errors are stated down the bottom.  (EmptyStackException is a
RuntimeException).

BTW, thanks for committing my patches.

--
Aaron.



More information about the kaffe mailing list