Skip to content
Permalink
Browse files
Update oak-doc/src/site/markdown/dos_and_donts.md
Co-authored-by: Jörg Hoh <joerghoh@users.noreply.github.com>
  • Loading branch information
anchela and joerghoh committed May 18, 2022
1 parent 890a423 commit 1a9194cb7c6e843c2ee83ee9395ee4ff977b6a62
Showing 1 changed file with 1 addition and 1 deletion.
@@ -125,5 +125,5 @@ c = d.getParent(); // preferred way to fetch the pa

`Thread.interrupt()` can severely impact or even stop the repository. The reason for
this is that Oak internally uses various classes from the `nio` package that implement
`InterruptibleChannel`, which are [asynchronously closed](http://docs.oracle.com/javase/7/docs/api/java/nio/channels/InterruptibleChannel.html)
`InterruptibleChannel`, which are [asynchronously closed](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/channels/InterruptibleChannel.html)
when receiving an `InterruptedException` while blocked on IO. See [OAK-2609](https://issues.apache.org/jira/browse/OAK-2609).

0 comments on commit 1a9194c

Please sign in to comment.