[jboss-osgi-issues] [JBoss JIRA] (JBOSGI-579) FileBasedRepositoryStorage.removeResource() is unable to delete the content file

David Bosschaert (JIRA) jira-events at lists.jboss.org
Tue Jul 3 12:56:12 EDT 2012


David Bosschaert created JBOSGI-579:
---------------------------------------

             Summary: FileBasedRepositoryStorage.removeResource() is unable to delete the content file
                 Key: JBOSGI-579
                 URL: https://issues.jboss.org/browse/JBOSGI-579
             Project: JBoss OSGi
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Repository
         Environment: Exposed on Windows
            Reporter: David Bosschaert
            Assignee: Thomas Diesler


The FileBasedRepositoryStorageTestCase.testAddResourceFromStream() checks that the FileBasedRepositoryStorage.removeResource() method actually deletes the resource. However, on Windows it is unable to delete the 'content' file. 
Windows is more picky about being able to delete resources when someone still has an open file handle to it. Most likely there is still a stream open on the 'content' file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-osgi-issues mailing list