Changeset 12435


Ignore:
Timestamp:
02/09/10 15:42:58 (12 years ago)
Author:
Mark Evenson
Message:

Turn off all caching of JAR entries as it inhibited reloading FASLs.

The java.net.JarURLConnection implementation *never* invalidates its
cache even for files on the local filesystem, making it highly
unsuitable to represent FASL sources. One can create a custom
protocol handler, but in the manner oh-so-typical of Java, we cannot
use the default implementation so a sizable amount of coding lies
ahead. For the time being, we just disable caching.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/src/org/armedbear/lisp/Pathname.java

    r12431 r12435  
    17471747        }
    17481748        JarURLConnection jarURLConnection = (JarURLConnection) connection;
    1749 
     1749        // XXX implement custom protocol handler that actual does the necessary caching
     1750        connection.setUseCaches(false);
    17501751        JarFile result;
    17511752        try {
Note: See TracChangeset for help on using the changeset viewer.