Name: nt126004 Date: 01/29/2003
FULL PRODUCT VERSION :
doc problem, not JDK or runtime related
FULL OPERATING SYSTEM VERSION : doc problem, not OS related
A DESCRIPTION OF THE PROBLEM :
These two sentences from FileLock contradict each other:
They [FileLocks] are not suitable for controlling access to
a file by multiple threads within the same virtual machine.
File-lock objects are safe for use by multiple concurrent
threads.
Package java.nio.channels, FileLock class
The second sentence should probably mention specifically that the class
is Thread-safe.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1.see java.nio.channels, FileLock class
REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 180469)
======================================================================
FULL PRODUCT VERSION :
doc problem, not JDK or runtime related
FULL OPERATING SYSTEM VERSION : doc problem, not OS related
A DESCRIPTION OF THE PROBLEM :
These two sentences from FileLock contradict each other:
They [FileLocks] are not suitable for controlling access to
a file by multiple threads within the same virtual machine.
File-lock objects are safe for use by multiple concurrent
threads.
Package java.nio.channels, FileLock class
The second sentence should probably mention specifically that the class
is Thread-safe.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1.see java.nio.channels, FileLock class
REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 180469)
======================================================================