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 "Kathey Marsden (JIRA)" <ji...@apache.org> on 2011/08/30 18:11:38 UTC
[jira] [Commented] (DERBY-5396) DRDAStatement and DRDAConnThread
swallow IOExceptions
[ https://issues.apache.org/jira/browse/DERBY-5396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093855#comment-13093855 ]
Kathey Marsden commented on DERBY-5396:
---------------------------------------
There is issue DERBY-4350 which I am guessing can be closed as a duplicate of this, except that that issue also mentions the lack of logging, which is not addressed with the patch, but that would still be covered by DERBY-1191.
> 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
> 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