I get confused with something. The file is really locked inside JVM? I think I must misunderstand something important. Please let me know more details, thank you very much!
Re #15734: how to lock a file in Java? I mean how java provide flock()?