Changeset 14183


Ignore:
Timestamp:
10/12/12 10:47:28 (8 years ago)
Author:
Mark Evenson
Message:

Diagnostic: return something meaningful at Stas' breakage.

Status: currently cannot duplicate. Building Ubuntu testing image.

File:
1 edited

Legend:

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

    r14176 r14183  
    3939import java.io.InputStream;
    4040import java.net.URL;
     41import java.text.MessageFormat;
    4142
    4243/* This file holds ABCL's (FASL and non-FASL) loading behaviours.
     
    166167                    + COMPILE_FILE_INIT_FASL_TYPE;
    167168            }
    168             mergedPathname = new Pathname(n);
     169            if (!((mergedPathname = new Pathname(n)) instanceof Pathname)) {
     170              return error(new FileError((MessageFormat.format("Failed to address JAR-PATHNAME truename {0} for name {1}", truename.princToString(), name)), truename));
     171            }
     172
    169173            LispObject initTruename = Pathname.truename(mergedPathname);
    170174            if (initTruename == null || initTruename.equals(NIL)) {
Note: See TracChangeset for help on using the changeset viewer.