Currently the logging FileHandler uses its own native file locking
code. This was implemented before the nio package was available.
However the nio package now provide file locking.
The logging code should be changed to use the standard nio
locking APIs. This will allow the removal of redundant native code
from the logging implementation.