Community
Participate
Working Groups
There are two register-methods that accept an InputStream as a parameter. Unfortunately the current implementation closes the given input stream before it returns. To align with the common rule that the one who allocates a resource is also responsible for disposing of/closing it, the resource manager should not close input streams. Event though this may lead to resource leaks in application code that relies on this undocumented 'feature', I suggest to change the IResourceManager implementation to not close the input stream any more.
Changed ResourceManagerImpl to leave the given input stream open. Changes are in commit c8e8385266053ebc5423492770a50c7af736046e