Changeset 396


Ignore:
Timestamp:
Jul 19, 2012, 7:11:02 PM (13 years ago)
Author:
dmik
Message:

icedtea-web: Temporarily disable chache data file locking.

This is necessary to stop throwing lock violation exceptions
when updating cache data files. May lead to file contents
corruption in case of concurrent access but should be not
a problem for beta-testing. Needs to be fixed later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/icedtea-web/netx/net/sourceforge/jnlp/util/FileUtils.java

    r372 r396  
    316316     */
    317317    public static FileLock getFileLock(String path, boolean shared, boolean allowBlock) throws FileNotFoundException {
     318        // @todo temporary solution, see http://svn.netlabs.org/java/ticket/169
     319        if (Defaults.OS_DOS_LIKE)
     320            return null;
    318321        RandomAccessFile rafFile = new RandomAccessFile(path, "rw");
    319322        FileChannel fc = rafFile.getChannel();
Note: See TracChangeset for help on using the changeset viewer.