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

Knut Anders Hatlen updated DERBY-2753:
--------------------------------------

    Attachment: encodingexception.diff

Attaching a patch which fixes the issue by changing three occurrences of "catch 
(Exception e)" with "catch (UnsupportedEncodingException e)". I'm running the 
tests now, and I plan to commit this simple fix once they have completed.

> org.apache.derby.impl.drda.DDMWriter might swallow unexpected exceptions
> ------------------------------------------------------------------------
>
>                 Key: DERBY-2753
>                 URL: https://issues.apache.org/jira/browse/DERBY-2753
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server
>    Affects Versions: 10.3.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: encodingexception.diff
>
>
> Some methods in org.apache.derby.impl.drda.DDMWriter catch Exception and 
> print a message about unsupported encoding. They should instead catch the 
> specific exception UnsupportedEncodingException and let all other exceptions 
> propagate up the call stack.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to