FULL PRODUCT VERSION :
ADDITIONAL OS VERSION INFORMATION :
AIX HY-AIX64 1 7 000562E4D700
A DESCRIPTION OF THE PROBLEM :
From the man page said:
...... If a conflicting lock is held by another process, this call returns -1 and sets errno to EACCES or EAGAIN.
So EACCESS should be also checked for the sake the system is not return EAGAIN.
The native code is in the file "src/solaris/native/sun/nio/ch/FileDispatcherImpl.c" and fix is very straight-forward.
This bug can be reproduced always.