Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5396

DRDAStatement and DRDAConnThread swallow IOExceptions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.8.1.2
    • Fix Version/s: 10.8.2.2, 10.9.1.0
    • Component/s: Network Server
    • Labels:
      None

      Description

      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.

        Attachments

        1. d5396.diff
          2 kB
          Knut Anders Hatlen

          Issue Links

            Activity

              People

              • Assignee:
                knutanders Knut Anders Hatlen
                Reporter:
                knutanders Knut Anders Hatlen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: