[
https://issues.jboss.org/browse/JBOSGI-579?page=com.atlassian.jira.plugin...
]
David Bosschaert updated JBOSGI-579:
------------------------------------
Summary: Windows issues with jbosgi-repository (was:
FileBasedRepositoryStorage.removeResource() is unable to delete the content file)
Description: jbosgi-repository doesn't function properly on Windows because of
input streams that are not properly closed. This prevents File.delete() and
File.renameTo() from functioning properly. (was: 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.)
Windows issues with jbosgi-repository
-------------------------------------
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
jbosgi-repository doesn't function properly on Windows because of input streams that
are not properly closed. This prevents File.delete() and File.renameTo() from functioning
properly.
--
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