id summary reporter owner description type status priority milestone component version severity resolution keywords cc 169 icedtea-web: Fix file locking dmik "The Java plugin uses java.nio.channels.FileChannel.lock() to serialize access to property files (used mostly for storing cache data) between several plugin instances (represented by separate processes) to make sure the file update operation is atomic in that context. However, the behavior of locks differs between platforms. In particular, on Windows and on OS/2 the file lock is strictly bound to the file handle. This means that if you open the locked file again and get a new handle for it, the new handle will not inherit the lock and accessing the file through this new handle may fail if the lock condition is violated -- even if the second open happens in the same process. Since the plugin code uses different handles to lock the property files and to read/write to them, this causes permanent lock violations and prevents these files from being properly updated on OS/2. I guess that on Linux file locks are not bound to file descriptors but rather to the file name and that's why it works. (Windows is not a question here since the plugin is not made to be used on Windows where Oracle provides its own binary distributions). This needs to be addressed and fixed." task new major Next icedtea-web 1.6.0-b24 GA2 medium