On Sat, 27 Apr 2024 11:52:18 GMT, Viktor Klang <vkl...@openjdk.org> wrote:
>> This is an attempt to be more clear about recommendations on Lock usage. > > Viktor Klang has updated the pull request incrementally with one additional > commit since the last revision: > > Update > src/java.base/share/classes/java/util/concurrent/locks/ReentrantReadWriteLock.java > > Co-authored-by: Pavel Rappo <32523691+pavelra...@users.noreply.github.com> The grammar rules prefer "that" because it is a restrictive clause, even though "which" might sound better. See for example: https://owl.purdue.edu/owl/general_writing/grammar/that_vs_which.html ------------- PR Comment: https://git.openjdk.org/jdk/pull/18974#issuecomment-2086883300