Changeset 15446
- Timestamp:
- 10/29/20 16:54:42 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/JarPathname.java
r15443 r15446 75 75 rootDevice.copyFrom(p); 76 76 } else if (p instanceof Pathname) { 77 // FIXME: not going to work with namestrings with characters 78 // that need URI escaping 79 rootDevice.copyFrom(p); 77 rootDevice = URLPathname.create(p); 80 78 } else { 81 79 simple_error("Argument is already a JAR-PATHNAME: ~a", p); … … 197 195 198 196 // Normalize the root jar to be a URL 197 URLPathname rootPathname; 199 198 String rootNamestring = contents.get(0); 200 199 if (!isValidURL(rootNamestring)) { 201 rootNamestring = "file:" + rootNamestring; 202 } 203 204 URLPathname rootPathname = (URLPathname)URLPathname.create(rootNamestring); 200 Pathname root = Pathname.create(rootNamestring); 201 rootPathname = URLPathname.createFromFile(root); 202 } else { 203 rootPathname = URLPathname.create(rootNamestring); 204 } 205 205 206 206 LispObject jars = NIL;
Note: See TracChangeset
for help on using the changeset viewer.