Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8290353

ModuleReader::list specification should suggest closing the returned stream

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 20
    • 20
    • core-libs

    Description

      JDK-8290316 identifies a number of unclosed directory streams in the
      implementation. The solution to such streams is uncontentious - close
      them - since the streams are internal to the implementation. However,
      `ModuleReader::list` (e.g. ModuleReferences.ExplodedModuleReader::list)
      returns its stream to the caller. The intention of the `list` method is
      to allow for lazy streams. The `list` method should be re-examined to
      determine if a clarification to the spec is required.

      Attachments

        Issue Links

          Activity

            People

              rjernst Ryan Ernst
              chegar Chris Hegarty
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: