Uh -- aren't child classen restricted to throwing some subset of the
exceptions their parent class throws? If that is the case, then isn't
your example code broken, not the compiler?
orville.
On Mon, 13 Mar 2000, Mo DeJong wrote:
> Date: Mon, 13 Mar 2000 14:02:20 -0800 (PST)
> From: Mo DeJong <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: [Kaffe] javac compiler shipped with kaffe fails to compile this!
> Resent-Date: Mon, 13 Mar 2000 17:02:30 -0500
> Resent-From: [EMAIL PROTECTED]
>
>
> Hi all.
>
> I just noticed that the javac compiler shipped with Kaffe is badly broken.
> It will not compile the following class. I never noticed this before
> because I always use jikes, but I would like to see Kaffe work
> "out of the box" without forcing the user download jikes. This code
> is perfectly legal, the javac compiler shipped with kaffe incorrectly
> rejects it.
>
>
> abstract class Inherit {
> abstract void foo() throws ClassNotFoundException;
> }
>
> public class InheritOverideException extends Inherit {
> void foo() throws ClassNotFoundException, SecurityException {}
> }
>
>
> Is this the right place to send compiler problem reports?
>
> Mo Dejong
> Red Hat Inc.
>
>
-------------------------------------------------------------------
Orville R. Weyrich, Jr. Weyrich Computer Consulting
mailto:[EMAIL PROTECTED] KD7HJV http://www.weyrich.com
-------------------------------------------------------------------
Visit our online collection of book reviews:
http://www.weyrich.com/book_reviews/
Ask about our world wide web services!
-------------------------------------------------------------------
Re: [Kaffe] javac compiler shipped with kaffe fails to compile this!
Weyrich Computing Consulting Mon, 13 Mar 2000 23:52:29 -0800
- [Kaffe] javac compiler shipped with kaffe fai... Mo DeJong
- Re: [Kaffe] javac compiler shipped with ... Archie Cobbs
- Re: [Kaffe] javac compiler shipped with ... Mark Wielaard
- Re: [Kaffe] javac compiler shipped w... Archie Cobbs
- Kaffe release planning ? Weyrich Computing Consulting
- Kaffe release planning ? Maurizio DE CECCO
- Re: [Kaffe] javac compiler shipped w... Artur Biesiadowski
