commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ 100493 ] Squelched exceptions


From: nobody
Subject: [ 100493 ] Squelched exceptions
Date: Sun, 03 Mar 2002 09:16:22 -0500

Support Request #100493, was updated on 2002-Feb-28 14:45
You can respond by visiting: 
http://savannah.gnu.org/support/?func=detailsupport&support_id=100493&group_id=85

Category: java.awt
Status: Closed
Priority: 5
Summary: Squelched exceptions

By: mark
Date: 2002-Mar-03 15:16

Message:
Logged In: YES 
user_id=301
Browser: Mozilla/5.0 Galeon/1.0.3 (X11; Linux i686; U;) Gecko/20020214

Thanks, I changed the code.

----------------------------------------------------------------------

By: crawley
Date: 2002-Feb-28 14:45

Message:
Logged In: YES 
user_id=5673
Browser: Mozilla/5.0 (compatible; Konqueror/2.2-11; Linux)

At line 165 of java/awt/Font.java there is a
handler that catches java.lang.Exception.

Rather than catching Exception, the code should
catch NumberFormatException.  

This will avoid squelching unexpected exceptions, 
and will also stop Jikes (v 1.13) producing a 
warning message here.



----------------------------------------------------------------------
You can respond by visiting: 
http://savannah.gnu.org/support/?func=detailsupport&support_id=100493&group_id=85



reply via email to

[Prev in Thread] Current Thread [Next in Thread]