http://kenai.com/bugzilla/show_bug.cgi?id=3565
Bill Shannon <shannon_at_kenai.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
--- Comment #1 from Bill Shannon <shannon_at_kenai.com> 2010-11-19 00:35:46 ---
Yes, sadly, the documentation is out of date. The approach described turned
out to be unworkable. It was too easy to leak file descriptors if there was
no way to force a file to be closed. Programs using SharedFileInputStream
need to manage it carefully, just like FileInputStream, and ensure that it's
closed when no longer in use.
Perhaps there should be an option to control whether close() on the original
stream object forces the file to be closed or not?
--
Configure bugmail: http://kenai.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.