Request for review: 7190897 (fs) Files.isWritable method returns false when the path is writable (win). (original) (raw)
Alan Bateman Alan.Bateman at oracle.com
Mon Mar 4 11:56:53 UTC 2013
- Previous message: Request for review: 7190897 (fs) Files.isWritable method returns false when the path is writable (win). - ver. 1
- Next message: Request for review: 7190897 (fs) Files.isWritable method returns false when the path is writable (win). - ver. 1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
-Alan.
- Previous message: Request for review: 7190897 (fs) Files.isWritable method returns false when the path is writable (win). - ver. 1
- Next message: Request for review: 7190897 (fs) Files.isWritable method returns false when the path is writable (win). - ver. 1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]