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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 10.5.3.1, 10.6.1.0
    • None
    • Network Server
    • Normal
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: