This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Patch: merge File.toURI() from Classpath


Stephen Crawley writes:
>I'm also going to submit a bug report about the JDK's widespread abuse
>of RuntimeException.  IMO, they should either throw InternalError (or
>its replacement) or they should define some appropriate subtypes of
>RuntimeException and throw those.

I agree.  IMHO RuntimeException exists for exactly two reasons:
 
1)  To be subclassed.
2)  To be caught.
 
It should never be thrown.
 
I don't much like religious wars, but I am stuck using libgcj.  So I can't just walk away.
I must stand and fight for what I believe in!
 
David Daney

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]