Request for review: 7190897 (fs) Files.isWritable method returns false when the path is writable (win). - ver. 1
Alan.Bateman at oracle.com
Mon Mar 4 11:56:53 UTC 2013
On 04/03/2013 11:51, Alan Bateman wrote:
> but that doesn't work if OpenThreadToken succeeds with a handle of 0.
> If 0 is not possible then there are a few other clean-ups that we
> could do at a later time.
Ah, I remember now, we handle ERROR_NO_TOKEN so this means that hToken
can be 0. So this means that the CloseHandle does need to check for 0 in
the finally block.
More information about the core-libs-dev