Changeset 12754


Ignore:
Timestamp:
06/15/10 22:43:56 (13 years ago)
Author:
astalla
Message:

Don't bind *load-truename* to NIL while loading FASLs, or SLIME compilation breaks.

File:
1 edited

Legend:

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

    r12749 r12754  
    7171    public byte[] getFunctionClassBytes(String name) {
    7272  Pathname pathname = new Pathname(name.substring("org/armedbear/lisp/".length()) + ".cls");
    73   final LispThread thread = LispThread.currentThread();
    74   SpecialBindingsMark mark = thread.markSpecialBindings();
    75   try {
    76       //thread.bindSpecial(Symbol.LOAD_TRUENAME_FASL, NIL);
    77       thread.bindSpecial(Symbol.LOAD_TRUENAME, NIL);
    78       return readFunctionBytes(pathname);
    79   } finally {
    80       thread.resetSpecialBindings(mark);
    81   }
     73  return readFunctionBytes(pathname);
    8274    }
    8375   
Note: See TracChangeset for help on using the changeset viewer.