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

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

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Task DoD