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

javaException is created but not thrown or logged in DRDAConnThread.closeStream(InputStream stream)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 10.5.3.1, 10.6.1.0
    • Fix Version/s: None
    • Component/s: Network Server
    • Urgency:
      Normal
    • Issue & fix info:
      Newcomer

      Description

      I noticed this code in DRDAConnThread.closesStream(InputStream stream)

      private static void closeStream(InputStream stream){

      try

      { if (stream != null) stream.close(); }

      catch (IOException e)

      { Util.javaException(e); }

      }

      I think the javaException won't be thrown or logged and the underlying IOException will be lost. I have not investigated whether it should be thrown or just logged, but should be addressed with the DERBY-1191 fix.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kmarsden Katherine Marsden
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: