Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1080

DataSourceProvider does not delete the temporary files it creates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.9.Final
    • 3.0.7.Final
    • None
    • None

      The DataSourceProvider (org.jboss.resteasy.plugins.providers.DataSourceProvider.readDataSource(InputStream, MediaType)) creates a temporary file named "resteasy-provider-datasource ... .tmp" when reading more then 4096 bytes. However, it does not delete the created temporary file itself nor does it provide a facility to do so. This results in a resource leak!

              rh-ee-klape Kyle Lape
              Martin.Bonato@prime-sign.com Martin Bonato (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: