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: