This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: close I/O channels when a process ends


>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:

Andrew> I ran out of file handles.  Was there any reason we weren't
Andrew> closing the files in Process.waitFor?

It probably isn't valid to do this.
Couldn't there still be data in the OS' pipe buffer?

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]