From: SourceForge.net <no...@so...> - 2006-08-12 19:17:29
|
Bugs item #1269872, was opened at 2005-08-24 19:56 Message generated for change (Settings changed) made by cgroves You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1269872&group_id=12867 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: targeted for 2.2beta1 >Status: Closed Resolution: None Priority: 6 Submitted By: Scott Lamb (slamb) Assigned to: Nobody/Anonymous (nobody) Summary: REGRESSION: ConnectException not IOException? Initial Comment: The attached script fails with Jython 2.2a1. It succeeds with Jython 2.1. For some reason, a ConnectException (which is a SocketException, which is an IOException) is falling through a try/except IOException, e block. This occurs on this OS X Tiger 10.4.2 system: [slamb@slamb-mac ~]$ uname -a Darwin slamb-mac.dhcp.2wire.com 8.2.0 Darwin Kernel Version 8.2.0: Fri Jun 24 17:46:54 PDT 2005; root:xnu-792.2.4.obj~3/ RELEASE_PPC Power Macintosh unknown PowerMac7,3 Darwin [slamb@slamb-mac ~]$ java -version java version "1.4.2_07" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215) Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode) ---------------------------------------------------------------------- Comment By: Charles Groves (cgroves) Date: 2006-08-08 20:05 Message: Logged In: YES user_id=1174327 This is the same problem as 1531644. With r2874 applied on the 2.3 branch the test passes. If that change is pulled over to the trunk this should be fixed. ---------------------------------------------------------------------- Comment By: Scott Lamb (slamb) Date: 2005-08-27 12:07 Message: Logged In: YES user_id=360426 It looks like raising from Jython code a ConnectException, SocketException, or IOException works fine. Raising from Java a ConnectException or SocketException does not. Raising an IOException works fine. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1269872&group_id=12867 |