Created attachment 31953 [details] Close InputStream after use. Factor out common code into a private method. InputStreams are not closed after using them for loading the content into properties. This happens a few times in the code base and seems to be a common task. Maybe we should create a utility-method to capsulate that funtion. For DefaultInstanceManager I have created a private method. For ContextConfig I adapted to local logic only.
Created attachment 31954 [details] Close InputStream after use in ContextConfig
Thanks for the patches. I applied a variation of them (I used try with resources to reduce the code) to 8.0.x and this will be included in 8.0.13 onwards.
Fix is committed to 7.0.x and will be available in 7.0.56 onwards.