eclipse-archived / concierge

Eclipse Concierge™ project
https://www.eclipse.org/concierge/
Eclipse Public License 1.0
33 stars 22 forks source link

installBundle with null InputStream fails #28

Closed tverbele closed 7 years ago

tverbele commented 7 years ago

When calling installBundle(String location, InputStream in) with a null InputStream we fail with a NullPointerException.

However, the spec says:

The InputStream object from which this bundle will be read or null to indicate the Framework must
create the input stream from the specified location identifier. The input stream must always be
closed when this method completes, even if an exception is thrown