eclipse-platform / eclipse.platform.text

8 stars 45 forks source link

Propagate exception on storage document content stream closure #239

Closed jld01 closed 1 year ago

jld01 commented 1 year ago

In some cases (eg piped content), InputStream closure may be the first opportunity for the document content provider to indicate failure. We should not ignore exceptions when closing the content stream. This change ensures that an IOException thrown when closing the stream is propagated to the caller in the same manner as when reading the stream.

laeubi commented 1 year ago

This repository was merged with https://github.com/eclipse-platform/eclipse.platform.ui if your pull-request is still relevant please rebase the code and push it to the new repository.

jld01 commented 1 year ago

This repository was merged with https://github.com/eclipse-platform/eclipse.platform.ui if your pull-request is still relevant please rebase the code and push it to the new repository.

Pushed as https://github.com/eclipse-platform/eclipse.platform.ui/pull/894