Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6781

Not closing URLConnection in ProductionModeClasspathFile might lead to too many open files

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 5.4.10, 5.5
    • 5.4.9
    • None
    • None
    • Yes
    • Yes
    • Basel 62
    • 2

    Description

      Calls to info.magnolia.resourceloader.classpath.service.impl.production.ProductionModeClasspathFile#getLastModified() currently do not close the URLConnection necessary to determine the last modification date. We should at least close the connection (see info.magnolia.resourceloader.classpath.service.impl.devmode.DevelopmentModeClasspathFile#getLastModified()) and possibly only check the date once.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                apchelintcev Aleksandr Pchelintcev
                pmundt Philip Mundt
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD