JDK 9 RFR of 8166253: (ch) FileLock object can get GC'd and result in unexpected release of file lock
brian.burkhalter at oracle.com
Tue Sep 20 20:13:04 UTC 2016
Please review at your convenience.
Add an implementation note indicating that the lock could be released if the caller does not retain the returned object as a strongly reachable variable. If this looks reasonable a CCC request will be filed and the issue labels updated as needed.
More information about the nio-dev