You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2011/08/31 15:34:09 UTC

[jira] [Resolved] (DERBY-5396) DRDAStatement and DRDAConnThread swallow IOExceptions

     [ https://issues.apache.org/jira/browse/DERBY-5396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen resolved DERBY-5396.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.9.0.0

Thanks, Kathey, the DRDAConnThread part of this issue is the same as DERBY-4350. I'll resolve that issue.

All the regression tests passed. Committed revision 1163616.

> DRDAStatement and DRDAConnThread swallow IOExceptions
> -----------------------------------------------------
>
>                 Key: DERBY-5396
>                 URL: https://issues.apache.org/jira/browse/DERBY-5396
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server
>    Affects Versions: 10.8.1.2
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>             Fix For: 10.9.0.0
>
>         Attachments: d5396.diff
>
>
> DRDAConnThread.closeStream():
> 	} catch (IOException e) {
> 	    Util.javaException(e);
> 	    
> 	}
> DRDAStatement.execute():
> 		} catch (IOException e) { 
> 			Util.javaException(e);
> 		}
> Since Util.javaException() only returns an exception, this code doesn't work as intended. The returned exception should also be thrown.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira