JDK 9 RFR of 8152085: (ch) RandomAccessFile.getChannel().lock() is uninterruptible
brian.burkhalter at oracle.com
Fri Jan 27 01:12:44 UTC 2017
On Jan 26, 2017, at 1:50 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
>> I am not at all sure that this is a good solution, so should someone else have a better idea about it that they would like to share I would be happy to read it.
> Yeah, this is gross. This issue dates back to JDK 1.4 and I think it needs further thought to see if are other APIs that we could use.
Well as I implied I don’t think it’s a great solution either so I don’t disagree. I have looked over a lot of documentation of Windows functions and did not see any alternative there. I’ll continue to investigate.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nio-dev