https://bz.apache.org/bugzilla/show_bug.cgi?id=64542

--- Comment #1 from PJ Fanning <[email protected]> ---
Hi Arjohn,

I'm not sure this is an easy change and the code has been like this for a long
time - so there are risks that people rely on the behaviour as it is.

You might be able to wrap your FileChannel with a wrapper that delegates all
calls to the wrapped channel but the wrapper could have a no-op close().

If you feel strongly about this issue, maybe you could submit a patch. If so, I
would recommend adding a new constructor to FileBackedDataSource that takes a
flag that says not to close the FileChannel (or a set method).

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to