[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
Wed Jul 4 04:42:12 EDT 2012


     [ https://issues.jboss.org/browse/JBOSGI-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Bosschaert reassigned JBOSGI-579:
---------------------------------------

    Assignee: David Bosschaert  (was: Thomas Diesler)

    
> 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: David Bosschaert
>
> 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