Huh? test/Stock.java
Zenin
zenin at best.com
Mon Jul 7 07:33:07 PDT 1997
TAKE ME OFF THIS MAILING LIST NOW!!!!
> From kaffe-approval at soi.city.ac.uk Sun Jul 6 08:20:22 1997
> X-Authentication-Warning: vega.soi.city.ac.uk: lp set sender to owner-kaffe at soi.city.ac.uk using -f
> Message-ID: <19970706115327.24075 at xaa.stack.nl>
> Date: Sun, 6 Jul 1997 11:53:27 +0200
> From: Mark Huizer <xaa at stack.nl>
> To: kaffe at kaffe.org
> Subject: Huh? test/Stock.java
> X-Mailer: Mutt 0.69
> Reply-To: xaa at stack.nl (Mark Huizer)
> Sender: owner-kaffe at soi.city.ac.uk
> Precedence: bulk
> Reply-To: kaffe at kaffe.org
> Just a small question. Just for fun I tried some of the tests, giving
> errors quite some times, but some are strange.
>
> Take e.g. test/compiler/Stock.java...
>
> try {
> url = new URL( "http://localhost/" );
> System.out.println( "Hi\n" );
> System.out.println( url.getContent().toString() );
> System.out.println( "Bye\n" );
> }
> catch (java.io.IOException e) {
> }
> catch (java.net.MalformedURLException e) {
>
> Here it generates an error that it never reaches the second cache
> statement (Stock.java:27: catch not reached.)
>
> Isn't it supposed to be able to reach it? Or am I so wrong in my
> understanding that one has to check for all exceptions in one catch and
> try to find out what it is in other ways?
>
> Mark
> -------------------------------------------------------------------------
> - Mark Huizer - xaa at stack.nl - rcbamh at urc.tue.nl -
> -------------------------------------------------------------------------
> - It may be that your whole purpose in life is simply to serve -
> - as a warning to others -
> -------------------------------------------------------------------------
>
>
More information about the kaffe
mailing list