On 27/06/2019 05:28, Jaikiran Pai wrote:
One subtle point is that end() is not idempotent. The close() method defined by AutoCloseable is not required be to either but we should try hard to specify Inflater::close to be idempotent. It might need a bit of heroics to get this right because Inflater is not final and end() might be overridden.:2. Have the close() method call the end() method
-Alan