Changeset 15443
- Timestamp:
- 10/29/20 16:54:37 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/JarPathname.java
r15435 r15443 364 364 // Run a truename resolution on the path of local jar archives 365 365 if (p.isLocalFile()) { 366 URLPathname rootJar = new URLPathname(); 366 Pathname rootJar; 367 if (URLPathname.hasExplicitFile(p)) { 368 rootJar = new URLPathname(); 369 } else { 370 rootJar = new Pathname(); 371 } 367 372 rootJar.copyFrom((Pathname)p.getRootJar()); 373 368 374 // Ensure that we don't return a JarPathname if the current default is one 369 375 if (rootJar.getDevice().equals(NIL)) { 370 376 rootJar.setDevice(Keyword.UNSPECIFIC); 371 377 } 372 LispObject trueRootJar = URLPathname.truename(rootJar, errorIfDoesNotExist);373 if ( trueRootJar.equals(NIL)) {378 LispObject rootJarTruename = Pathname.truename(rootJar, errorIfDoesNotExist); 379 if (rootJarTruename.equals(NIL)) { 374 380 return Pathname.doTruenameExit(rootJar, errorIfDoesNotExist); 375 381 } 376 LispObject otherJars = p.getJars().cdr(); 377 p.setDevice(new Cons(trueRootJar, otherJars)); 382 LispObject otherJars 383 = p.getJars().cdr(); 384 p.setDevice(new Cons(rootJarTruename, otherJars)); 378 385 } 379 386
Note: See TracChangeset
for help on using the changeset viewer.