Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
framework-6.0.3
-
windows 10, java11
Description
This bug was first observed on Windows 10: An exploded bundle with an activator is started then uninstalled. A handle to the bundle's manifest is held by the JVM until shutdown so, in particular, the Manifest can't be modified or deleted.
This is caused by an unclosed InputStream:
When Java major version is greater than 8 and a Bundle with an activator is started,
org.apache.felix.framework.util.MultiReleaseContent.wrap is called. It calls Content.getEntryAsAstream and the resulting InputStream is neither closed nor returned.
Attachments
Issue Links
- links to