Re: RFR: 8291023: FileOutputStream.close() re-entrantly invokes itself after getChannel().force()

2023-04-07 Thread Alan Bateman
On Thu, 6 Apr 2023 22:36:33 GMT, Archie L. Cobbs wrote: > IO stream classes like `FileOutputStream` can have assocated NIO channels. > > When `close()` is invoked on one of these classes, it in turn invokes > `close()` on the associated channel (if any). But when the associated > channel's

RFR: 8291023: FileOutputStream.close() re-entrantly invokes itself after getChannel().force()

2023-04-06 Thread Archie L . Cobbs
IO stream classes like `FileOutputStream` can have assocated NIO channels. When `close()` is invoked on one of these classes, it in turn invokes `close()` on the associated channel (if any). But when the associated channel's `close()` method is invoked, it in turn invokes `close()` on the