Changeset 13440
- Timestamp:
- 08/05/11 21:25:10 (12 years ago)
- Location:
- trunk/abcl/src/org/armedbear/lisp
- Files:
-
- 90 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/src/org/armedbear/lisp/AbstractArray.java
r12713 r13440 161 161 final String errorMsg = 162 162 "Invalid index %d for array %s."; 163 error(new ProgramError(String.format(errorMsg, n, writeToString())));163 error(new ProgramError(String.format(errorMsg, n, printObject()))); 164 164 } 165 165 sum += n * lastSize; … … 219 219 if (this instanceof SimpleArray_T) 220 220 sb.append("SIMPLE-"); 221 sb.append("ARRAY " + getElementType(). writeToString() + " (");221 sb.append("ARRAY " + getElementType().printObject() + " ("); 222 222 for (int i = 0; i < dimv.length; i++) { 223 223 sb.append(dimv[i]); … … 229 229 } 230 230 231 // Helper for writeToString().231 // Helper for printObject(). 232 232 private void appendContents(int[] dimensions, int index, StringBuilder sb, 233 233 LispThread thread) … … 241 241 sb.append(stream.getString().getStringValue()); 242 242 } else 243 sb.append(AREF(index). writeToString());243 sb.append(AREF(index).printObject()); 244 244 } else { 245 245 final LispObject printReadably = -
trunk/abcl/src/org/armedbear/lisp/AbstractBitVector.java
r12588 r13440 173 173 174 174 @Override 175 public String writeToString()175 public String printObject() 176 176 { 177 177 final LispThread thread = LispThread.currentThread(); -
trunk/abcl/src/org/armedbear/lisp/AbstractString.java
r12431 r13440 111 111 112 112 @Override 113 public String writeToString()113 public String printObject() 114 114 { 115 115 return writeToString(0, length()); -
trunk/abcl/src/org/armedbear/lisp/AbstractVector.java
r12431 r13440 155 155 sb.append(index); 156 156 sb.append(" for "); 157 sb.append( writeToString());157 sb.append(princToString()); 158 158 if (limit > 0) 159 159 { … … 205 205 206 206 @Override 207 public String writeToString()207 public String printObject() 208 208 { 209 209 final LispThread thread = LispThread.currentThread(); … … 216 216 if (i > 0) 217 217 sb.append(' '); 218 sb.append(AREF(i). writeToString());218 sb.append(AREF(i).printObject()); 219 219 } 220 220 sb.append(')'); … … 249 249 if (i > 0) 250 250 sb.append(' '); 251 sb.append(AREF(i). writeToString());251 sb.append(AREF(i).printObject()); 252 252 } 253 253 } -
trunk/abcl/src/org/armedbear/lisp/Autoload.java
r13369 r13440 154 154 if (symbol != null) { 155 155 if (symbol.getSymbolFunction() instanceof Autoload) { 156 Debug.trace("Unable to autoload " + symbol. writeToString());156 Debug.trace("Unable to autoload " + symbol.princToString()); 157 157 throw new IntegrityError(); 158 158 } … … 260 260 261 261 @Override 262 public String writeToString()262 public String printObject() 263 263 { 264 264 StringBuffer sb = new StringBuffer("#<AUTOLOAD "); 265 sb.append(symbol. writeToString());265 sb.append(symbol.princToString()); 266 266 sb.append(" \""); 267 267 if (className != null) { -
trunk/abcl/src/org/armedbear/lisp/AutoloadMacro.java
r12513 r13440 65 65 66 66 @Override 67 public String writeToString()67 public String printObject() 68 68 { 69 69 StringBuffer sb = new StringBuffer("#<AUTOLOAD-MACRO "); 70 sb.append(getSymbol(). writeToString());70 sb.append(getSymbol().princToString()); 71 71 sb.append(" \""); 72 72 sb.append(getFileName()); -
trunk/abcl/src/org/armedbear/lisp/Bignum.java
r12288 r13440 290 290 float f = value.floatValue(); 291 291 if (Float.isInfinite(f)) 292 error(new TypeError("The value " + writeToString() +292 error(new TypeError("The value " + princToString() + 293 293 " is too large to be converted to a single float.")); 294 294 return f; … … 300 300 double d = value.doubleValue(); 301 301 if (Double.isInfinite(d)) 302 error(new TypeError("The value " + writeToString() +302 error(new TypeError("The value " + princToString() + 303 303 " is too large to be converted to a double float.")); 304 304 return d; … … 756 756 757 757 @Override 758 public String writeToString()758 public String printObject() 759 759 { 760 760 final LispThread thread = LispThread.currentThread(); -
trunk/abcl/src/org/armedbear/lisp/BroadcastStream.java
r12513 r13440 220 220 221 221 @Override 222 public String writeToString()222 public String printObject() 223 223 { 224 224 return unreadableString("BROADCAST-STREAM"); -
trunk/abcl/src/org/armedbear/lisp/BuiltInClass.java
r13246 r13440 74 74 public LispObject getDescription() 75 75 { 76 return new SimpleString( writeToString());77 } 78 79 @Override 80 public String writeToString()76 return new SimpleString(princToString()); 77 } 78 79 @Override 80 public String printObject() 81 81 { 82 82 StringBuilder sb = new StringBuilder("#<BUILT-IN-CLASS "); 83 sb.append(getName(). writeToString());83 sb.append(getName().printObject()); 84 84 sb.append('>'); 85 85 return sb.toString(); -
trunk/abcl/src/org/armedbear/lisp/CaseFrobStream.java
r12362 r13440 210 210 211 211 @Override 212 public String writeToString()212 public String printObject() 213 213 { 214 214 return unreadableString("CASE-FROB-STREAM"); -
trunk/abcl/src/org/armedbear/lisp/CellError.java
r12512 r13440 103 103 if (Symbol.PRINT_ESCAPE.symbolValue() == NIL) 104 104 return super.getMessage(); 105 StringBuffer sb = new StringBuffer(typeOf(). writeToString());105 StringBuffer sb = new StringBuffer(typeOf().princToString()); 106 106 sb.append(' '); 107 sb.append(getCellName(). writeToString());107 sb.append(getCellName().princToString()); 108 108 return unreadableString(sb.toString()); 109 109 } -
trunk/abcl/src/org/armedbear/lisp/Closure.java
r12678 r13440 132 132 setLambdaList(lambdaList); 133 133 if (!(lambdaList == NIL || lambdaList instanceof Cons)) 134 error(new ProgramError("The lambda list " + lambdaList. writeToString() +134 error(new ProgramError("The lambda list " + lambdaList.princToString() + 135 135 " is invalid.")); 136 136 boolean _andKey = false; … … 388 388 389 389 { 390 error(new ProgramError(obj. writeToString() +390 error(new ProgramError(obj.princToString() + 391 391 " may not be used as a variable in a lambda list.")); 392 392 } … … 861 861 (allowOtherKeysValue == null || allowOtherKeysValue == NIL)) 862 862 error(new ProgramError("Unrecognized keyword argument " + 863 unrecognizedKeyword. writeToString()));863 unrecognizedKeyword.printObject())); 864 864 } 865 865 } -
trunk/abcl/src/org/armedbear/lisp/CompiledClosure.java
r12398 r13440 237 237 } catch(Throwable t) { 238 238 Debug.trace(t); 239 return error(new LispError("Unable to load " + arg. writeToString()));239 return error(new LispError("Unable to load " + arg.princToString())); 240 240 } 241 241 } 242 return error(new LispError("Unable to load " + arg. writeToString()));242 return error(new LispError("Unable to load " + arg.princToString())); 243 243 } 244 244 }; -
trunk/abcl/src/org/armedbear/lisp/Complex.java
r12940 r13440 344 344 345 345 @Override 346 public String writeToString()346 public String printObject() 347 347 { 348 348 StringBuilder sb = new StringBuilder("#C("); 349 sb.append(realpart. writeToString());349 sb.append(realpart.printObject()); 350 350 sb.append(' '); 351 sb.append(imagpart. writeToString());351 sb.append(imagpart.printObject()); 352 352 sb.append(')'); 353 353 return sb.toString(); -
trunk/abcl/src/org/armedbear/lisp/ComplexArray.java
r12288 r13440 234 234 235 235 @Override 236 public String writeToString()236 public String printObject() 237 237 { 238 238 return writeToString(dimv); -
trunk/abcl/src/org/armedbear/lisp/ComplexArray_UnsignedByte32.java
r12288 r13440 230 230 231 231 @Override 232 public String writeToString()232 public String printObject() 233 233 { 234 234 return writeToString(dimv); -
trunk/abcl/src/org/armedbear/lisp/ComplexArray_UnsignedByte8.java
r12288 r13440 227 227 228 228 @Override 229 public String writeToString()229 public String printObject() 230 230 { 231 231 if (Symbol.PRINT_READABLY.symbolValue() != NIL) { -
trunk/abcl/src/org/armedbear/lisp/Condition.java
r13182 r13440 179 179 return format(formatControl, getFormatArguments()); 180 180 } 181 return unreadableString(typeOf(). writeToString());182 } 183 184 @Override 185 public final String writeToString()181 return unreadableString(typeOf().princToString()); 182 } 183 184 @Override 185 public final String printObject() 186 186 { 187 187 final LispThread thread = LispThread.currentThread(); … … 217 217 if (currentLevel >= maxLevel) 218 218 return "#"; 219 return unreadableString(typeOf(). writeToString());219 return unreadableString(typeOf().princToString()); 220 220 } 221 221 } -
trunk/abcl/src/org/armedbear/lisp/Cons.java
r12713 r13440 499 499 500 500 @Override 501 public String writeToString()501 public String printObject() 502 502 { 503 503 final LispThread thread = LispThread.currentThread(); … … 523 523 { 524 524 sb.append('\''); 525 sb.append(cdr.car(). writeToString());525 sb.append(cdr.car().printObject()); 526 526 return sb.toString(); 527 527 } … … 536 536 { 537 537 sb.append("#'"); 538 sb.append(cdr.car(). writeToString());538 sb.append(cdr.car().printObject()); 539 539 return sb.toString(); 540 540 } … … 556 556 { 557 557 LispObject p = this; 558 sb.append(p.car(). writeToString());558 sb.append(p.car().printObject()); 559 559 ++count; 560 560 while ((p = p.cdr()) instanceof Cons) … … 563 563 if (count < maxLength) 564 564 { 565 sb.append(p.car(). writeToString());565 sb.append(p.car().printObject()); 566 566 ++count; 567 567 } … … 575 575 { 576 576 sb.append(" . "); 577 sb.append(p. writeToString());577 sb.append(p.printObject()); 578 578 } 579 579 } -
trunk/abcl/src/org/armedbear/lisp/DoubleFloat.java
r12535 r13440 530 530 m = (bits & 0xfffffffffffffL) | 0x10000000000000L; 531 531 LispObject significand = number(m); 532 // Debug.trace("significand = " + significand. writeToString());532 // Debug.trace("significand = " + significand.printObject()); 533 533 Fixnum exponent = Fixnum.getInstance(e - 1075); 534 // Debug.trace("exponent = " + exponent. writeToString());534 // Debug.trace("exponent = " + exponent.printObject()); 535 535 Fixnum sign = Fixnum.getInstance(s); 536 // Debug.trace("sign = " + sign. writeToString());536 // Debug.trace("sign = " + sign.printObject()); 537 537 LispObject result = significand; 538 // Debug.trace("result = " + result. writeToString());538 // Debug.trace("result = " + result.printObject()); 539 539 result = 540 540 result.multiplyBy(MathFunctions.EXPT.execute(Fixnum.TWO, exponent)); 541 // Debug.trace("result = " + result. writeToString());541 // Debug.trace("result = " + result.printObject()); 542 542 543 543 … … 546 546 547 547 result = result.multiplyBy(sign); 548 // Debug.trace("result = " + result. writeToString());548 // Debug.trace("result = " + result.printObject()); 549 549 // // Calculate remainder. 550 550 // LispObject product = result.multiplyBy(obj); 551 // Debug.trace("product = " + product. writeToString());551 // Debug.trace("product = " + product.printObject()); 552 552 // LispObject remainder = subtract(product); 553 553 return thread.setValues(result, remainder); … … 573 573 574 574 @Override 575 public String writeToString()575 public String printObject() 576 576 { 577 577 if (value == Double.POSITIVE_INFINITY) { 578 578 StringBuilder sb = new StringBuilder("#."); 579 sb.append(Symbol.DOUBLE_FLOAT_POSITIVE_INFINITY. writeToString());579 sb.append(Symbol.DOUBLE_FLOAT_POSITIVE_INFINITY.printObject()); 580 580 return sb.toString(); 581 581 } 582 582 if (value == Double.NEGATIVE_INFINITY) { 583 583 StringBuilder sb = new StringBuilder("#."); 584 sb.append(Symbol.DOUBLE_FLOAT_NEGATIVE_INFINITY. writeToString());584 sb.append(Symbol.DOUBLE_FLOAT_NEGATIVE_INFINITY.printObject()); 585 585 return sb.toString(); 586 586 } … … 647 647 if (obj instanceof Ratio) 648 648 return new DoubleFloat(((Ratio)obj).doubleValue()); 649 error(new TypeError("The value " + obj. writeToString() +649 error(new TypeError("The value " + obj.princToString() + 650 650 " cannot be converted to type DOUBLE-FLOAT.")); 651 651 // Not reached. -
trunk/abcl/src/org/armedbear/lisp/Environment.java
r12513 r13440 246 246 247 247 @Override 248 public String writeToString()248 public String printObject() 249 249 { 250 250 return unreadableString(Symbol.ENVIRONMENT); -
trunk/abcl/src/org/armedbear/lisp/FileStream.java
r12607 r13440 184 184 if (namestring == null) 185 185 return error(new SimpleError("Pathname has no namestring: " + 186 pathname. writeToString()));186 pathname.princToString())); 187 187 File file = new File(namestring); 188 188 length = file.length(); // in 8-bit bytes … … 264 264 265 265 @Override 266 public String writeToString()266 public String printObject() 267 267 { 268 268 return unreadableString(Symbol.FILE_STREAM); -
trunk/abcl/src/org/armedbear/lisp/Fixnum.java
r12431 r13440 940 940 941 941 @Override 942 public String writeToString()942 public String printObject() 943 943 { 944 944 final LispThread thread = LispThread.currentThread(); -
trunk/abcl/src/org/armedbear/lisp/FloatFunctions.java
r12513 r13440 64 64 else 65 65 error(new LispError("Unsupported floating point trap: " + 66 car. writeToString()));66 car.princToString())); 67 67 value = value.cdr(); 68 68 } … … 70 70 TRAP_UNDERFLOW = trap_underflow; 71 71 } else 72 error(new LispError("Unrecognized keyword: " + key. writeToString()));72 error(new LispError("Unrecognized keyword: " + key.princToString())); 73 73 } 74 74 return LispThread.currentThread().nothing(); -
trunk/abcl/src/org/armedbear/lisp/ForwardReferencedClass.java
r13245 r13440 66 66 67 67 @Override 68 public String writeToString()68 public String printObject() 69 69 { 70 70 StringBuffer sb = 71 new StringBuffer(Symbol.FORWARD_REFERENCED_CLASS. writeToString());71 new StringBuffer(Symbol.FORWARD_REFERENCED_CLASS.printObject()); 72 72 if (getName() != null) { 73 73 sb.append(' '); 74 sb.append(getName(). writeToString());74 sb.append(getName().printObject()); 75 75 } 76 76 return unreadableString(sb.toString()); … … 91 91 return c; 92 92 } 93 return error(new TypeError(arg. writeToString() +93 return error(new TypeError(arg.princToString() + 94 94 " is not a valid class name.")); 95 95 } -
trunk/abcl/src/org/armedbear/lisp/Function.java
r13374 r13440 314 314 315 315 @Override 316 public String writeToString()316 public String printObject() 317 317 { 318 318 LispObject name = getLambdaName(); 319 319 if (name != null && name != NIL) { 320 320 StringBuffer sb = new StringBuffer("#<FUNCTION "); 321 sb.append(name. writeToString());321 sb.append(name.printObject()); 322 322 sb.append(" {"); 323 323 sb.append(Integer.toHexString(System.identityHashCode(this)).toUpperCase()); … … 337 337 thread.bindSpecial(Symbol.PRINT_LENGTH, Fixnum.THREE); 338 338 try { 339 sb.append(lambdaList. writeToString());339 sb.append(lambdaList.printObject()); 340 340 } 341 341 finally { -
trunk/abcl/src/org/armedbear/lisp/Go.java
r12298 r13440 59 59 { 60 60 StringBuffer sb = new StringBuffer("No tag named "); 61 sb.append(tag. writeToString());61 sb.append(tag.princToString()); 62 62 sb.append(" is currently visible"); 63 63 return new ControlError(sb.toString()); -
trunk/abcl/src/org/armedbear/lisp/HashTable.java
r13336 r13440 226 226 227 227 @Override 228 public String writeToString() {228 public String printObject() { 229 229 if (Symbol.PRINT_READABLY.symbolValue(LispThread.currentThread()) != NIL) { 230 230 error(new PrintNotReadable(list(Keyword.OBJECT, this))); 231 231 return null; // Not reached. 232 232 } 233 StringBuilder sb = new StringBuilder(getTest(). writeToString());233 StringBuilder sb = new StringBuilder(getTest().princToString()); 234 234 sb.append(' '); 235 sb.append(Symbol.HASH_TABLE. writeToString());235 sb.append(Symbol.HASH_TABLE.princToString()); 236 236 sb.append(' '); 237 237 sb.append(count); -
trunk/abcl/src/org/armedbear/lisp/HashTableFunctions.java
r13333 r13440 70 70 return HashTable.newEqualpHashTable(n, rehashSize, rehashThreshold); 71 71 return error(new LispError("Unsupported test for MAKE-HASH-TABLE: " + 72 test. writeToString()));72 test.princToString())); 73 73 } 74 74 }; … … 103 103 rehashThreshold, weakness); 104 104 return error(new LispError("Unsupported test for MAKE-HASH-TABLE: " + 105 test. writeToString()));105 test.princToString())); 106 106 } 107 107 }; -
trunk/abcl/src/org/armedbear/lisp/Interpreter.java
r13356 r13440 310 310 sb.append(separator); 311 311 sb.append("Caught "); 312 sb.append(c.getCondition().typeOf(). writeToString());312 sb.append(c.getCondition().typeOf().printObject()); 313 313 sb.append(" while processing --eval option \"" + 314 314 args[i + 1] + "\":"); … … 317 317 final LispThread thread = LispThread.currentThread(); 318 318 thread.bindSpecial(Symbol.PRINT_ESCAPE, NIL); 319 sb.append(c.getCondition(). writeToString());319 sb.append(c.getCondition().princToString()); 320 320 sb.append(separator); 321 321 System.err.print(sb.toString()); … … 409 409 Symbol.SLASH.setSymbolValue(slash); 410 410 for (int i = 0; i < values.length; i++) 411 out._writeLine(values[i]. writeToString());411 out._writeLine(values[i].printObject()); 412 412 } else { 413 413 Symbol.SLASH.setSymbolValue(new Cons(result)); 414 out._writeLine(result. writeToString());414 out._writeLine(result.printObject()); 415 415 } 416 416 out._finishOutput(); … … 446 446 Condition condition = (Condition) c.getCondition(); 447 447 out._writeLine("Error: unhandled condition: " + 448 condition. writeToString());448 condition.princToString()); 449 449 if (thread != null) 450 450 thread.printBacktrace(); … … 458 458 Condition condition = (Condition) c.getCondition(); 459 459 out._writeLine("Error: unhandled condition: " + 460 condition. writeToString());460 condition.princToString()); 461 461 if (thread != null) 462 462 thread.printBacktrace(); … … 517 517 thread.bindSpecial(Symbol.PRINT_ESCAPE, NIL); 518 518 try { 519 conditionText = getCondition(). writeToString();519 conditionText = getCondition().princToString(); 520 520 } catch (Throwable t) { 521 521 conditionText = "<error printing Lisp condition>"; … … 553 553 ((Stream)stream).getOffset(); 554 554 Debug.trace("Error loading " + 555 truename. writeToString() +555 truename.princToString() + 556 556 " at line " + lineNumber + 557 557 " (offset " + offset + ")"); … … 559 559 } 560 560 Debug.trace("Encountered unhandled condition of type " + 561 condition.typeOf(). writeToString() + ':');562 Debug.trace(" " + condition. writeToString());561 condition.typeOf().princToString() + ':'); 562 Debug.trace(" " + condition.princToString()); 563 563 } 564 564 catch (Throwable t) {} // catch any exception to throw below -
trunk/abcl/src/org/armedbear/lisp/JarStream.java
r13405 r13440 137 137 138 138 @Override 139 public String writeToString()139 public String printObject() 140 140 { 141 141 StringBuffer sb = new StringBuffer(); 142 sb.append(Symbol.JAR_STREAM. writeToString());142 sb.append(Symbol.JAR_STREAM.princToString()); 143 143 String namestring = pathname.getNamestring(); 144 144 if (namestring != null) { -
trunk/abcl/src/org/armedbear/lisp/Java.java
r13365 r13440 414 414 sb.append('('); 415 415 for (int i = 2; i < args.length; i++) { 416 sb.append(args[i]. writeToString());416 sb.append(args[i].princToString()); 417 417 if (i < args.length - 1) 418 418 sb.append(','); … … 559 559 constructor = findConstructor((Class<?>) object, args); 560 560 } else { 561 return error(new LispError(classRef. writeToString() + " is neither a Constructor nor a Class"));561 return error(new LispError(classRef.princToString() + " is neither a Constructor nor a Class")); 562 562 } 563 563 } … … 1394 1394 return (Class) javaObjectgetObject; 1395 1395 } 1396 error(new LispError(obj. writeToString() + " does not designate a Java class."));1396 error(new LispError(obj.princToString() + " does not designate a Java class.")); 1397 1397 return null; 1398 1398 } -
trunk/abcl/src/org/armedbear/lisp/JavaObject.java
r13359 r13440 355 355 356 356 @Override 357 public String writeToString()357 public String printObject() 358 358 { 359 359 if (obj instanceof ControlTransfer) … … 541 541 final Object obj = javaObject.getObject(); 542 542 final StringBuilder sb = 543 new StringBuilder(javaObject. writeToString());543 new StringBuilder(javaObject.princToString()); 544 544 sb.append(" is an object of type "); 545 sb.append(Symbol.JAVA_OBJECT. writeToString());545 sb.append(Symbol.JAVA_OBJECT.princToString()); 546 546 sb.append("."); 547 547 sb.append(System.getProperty("line.separator")); -
trunk/abcl/src/org/armedbear/lisp/JavaStackFrame.java
r12288 r13440 55 55 56 56 @Override 57 public String writeToString() {57 public String printObject() { 58 58 final String JAVA_STACK_FRAME = "JAVA-STACK-FRAME"; 59 59 return unreadableString(JAVA_STACK_FRAME + " " -
trunk/abcl/src/org/armedbear/lisp/Layout.java
r12955 r13440 136 136 137 137 @Override 138 public String writeToString()138 public String printObject() 139 139 { 140 140 return unreadableString(Symbol.LAYOUT); -
trunk/abcl/src/org/armedbear/lisp/Lisp.java
r13274 r13440 515 515 else 516 516 return error(new ProgramError("Illegal function object: " + 517 first. writeToString()));517 first.princToString())); 518 518 } 519 519 } … … 708 708 if (tagbody == null) 709 709 return error(new ControlError("Unmatched tag " 710 + tag. writeToString() +710 + tag.princToString() + 711 711 " for GO outside lexical extent.")); 712 712 … … 725 725 if (binding.env.inactive) 726 726 return error(new ControlError("Unmatched tag " 727 + binding.symbol. writeToString() +727 + binding.symbol.princToString() + 728 728 " for GO outside of lexical extent.")); 729 729 … … 744 744 if (blockId == null) 745 745 return error(new ControlError("Unmatched block " 746 + blockName. writeToString() + " for " +746 + blockName.princToString() + " for " + 747 747 "RETURN-FROM outside lexical extent.")); 748 748 … … 768 768 if (binding.env.inactive) 769 769 return error(new ControlError("Unmatched block " 770 + binding.symbol. writeToString() +770 + binding.symbol.princToString() + 771 771 " for RETURN-FROM outside of" + 772 772 " lexical extent.")); … … 797 797 if (binding == null) 798 798 return error(new ControlError("No tag named " + 799 tag. writeToString() +799 tag.princToString() + 800 800 " is currently visible.")); 801 801 else if (memql(tag, localTags)) … … 1119 1119 Symbol.GENSYM_COUNTER.setSymbolValue(Fixnum.ZERO); 1120 1120 error(new TypeError("The value of *GENSYM-COUNTER* was not a nonnegative integer. Old value: " + 1121 oldValue. writeToString() + " New value: 0"));1121 oldValue.princToString() + " New value: 0")); 1122 1122 } 1123 1123 } else { … … 1132 1132 Symbol.GENSYM_COUNTER.setSymbolValue(Fixnum.ZERO); 1133 1133 error(new TypeError("The value of *GENSYM-COUNTER* was not a nonnegative integer. Old value: " + 1134 oldValue. writeToString() + " New value: 0"));1134 oldValue.princToString() + " New value: 0")); 1135 1135 } 1136 1136 } … … 1422 1422 { 1423 1423 try { 1424 return obj. writeToString();1424 return obj.printObject(); 1425 1425 } 1426 1426 catch (NullPointerException e) … … 1636 1636 return stream; 1637 1637 return (Stream) // Not reached. 1638 error(new TypeError("The value " + obj. writeToString() +1638 error(new TypeError("The value " + obj.princToString() + 1639 1639 " is not a character input stream.")); 1640 1640 } … … 1647 1647 return stream; 1648 1648 return (Stream) // Not reached. 1649 error(new TypeError("The value " + obj. writeToString() +1649 error(new TypeError("The value " + obj.princToString() + 1650 1650 " is not a character output stream.")); 1651 1651 } … … 1658 1658 return stream; 1659 1659 return (Stream) // Not reached. 1660 error(new TypeError("The value " + obj. writeToString() +1660 error(new TypeError("The value " + obj.princToString() + 1661 1661 " is not a binary input stream.")); 1662 1662 } … … 1787 1787 if (pkg != null) 1788 1788 return pkg; 1789 error(new PackageError(obj. writeToString() + " is not the name of a package."));1789 error(new PackageError(obj.princToString() + " is not the name of a package.")); 1790 1790 // Not reached. 1791 1791 return null; … … 1874 1874 else 1875 1875 return error(new TypeError("Malformed property list: " + 1876 plist. writeToString()));1876 plist.princToString())); 1877 1877 } 1878 1878 return defaultValue; … … 1957 1957 { 1958 1958 if (!(list.cdr() instanceof Cons)) 1959 error(new ProgramError("The symbol " + symbol. writeToString() +1959 error(new ProgramError("The symbol " + symbol.princToString() + 1960 1960 " has an odd number of items in its property list.")); 1961 1961 if (list.car() == indicator) … … 2011 2011 thread.bindSpecial(Symbol.PRINT_READABLY, NIL); 2012 2012 try { 2013 sb.append(obj. writeToString());2013 sb.append(obj.printObject()); 2014 2014 } 2015 2015 finally { … … 2026 2026 thread.bindSpecial(Symbol.PRINT_ESCAPE, T); 2027 2027 try { 2028 sb.append(obj. writeToString());2028 sb.append(obj.printObject()); 2029 2029 } 2030 2030 finally { … … 2043 2043 thread.bindSpecial(Symbol.PRINT_BASE, Fixnum.constants[10]); 2044 2044 try { 2045 sb.append(obj. writeToString());2045 sb.append(obj.printObject()); 2046 2046 } 2047 2047 finally { … … 2060 2060 thread.bindSpecial(Symbol.PRINT_BASE, Fixnum.constants[16]); 2061 2061 try { 2062 sb.append(obj. writeToString());2062 sb.append(obj.printObject()); 2063 2063 } 2064 2064 finally { … … 2704 2704 { 2705 2705 @Override 2706 public String writeToString()2706 public String printObject() 2707 2707 { 2708 2708 return "#<UNBOUND>"; … … 2714 2714 { 2715 2715 @Override 2716 public String writeToString()2716 public String printObject() 2717 2717 { 2718 2718 return "null"; -
trunk/abcl/src/org/armedbear/lisp/LispCharacter.java
r13415 r13440 224 224 225 225 @Override 226 public final String writeToString()226 public final String printObject() 227 227 { 228 228 final LispThread thread = LispThread.currentThread(); -
trunk/abcl/src/org/armedbear/lisp/LispClass.java
r13273 r13440 76 76 StringBuilder sb = 77 77 new StringBuilder("There is no class named "); 78 sb.append(name. writeToString());78 sb.append(name.princToString()); 79 79 sb.append('.'); 80 80 return error(new LispError(sb.toString())); -
trunk/abcl/src/org/armedbear/lisp/LispObject.java
r13249 r13440 66 66 { 67 67 StringBuilder sb = new StringBuilder("An object of type "); 68 sb.append(typeOf(). writeToString());68 sb.append(typeOf().princToString()); 69 69 sb.append(" at #x"); 70 70 sb.append(Integer.toHexString(System.identityHashCode(this)).toUpperCase()); … … 131 131 if (c.isAssignableFrom(getClass())) 132 132 return this; 133 return error(new LispError("The value " + writeToString() +133 return error(new LispError("The value " + princToString() + 134 134 " is not of class " + c.getName())); 135 135 } … … 732 732 } 733 733 734 public String writeToString() 734 /** PRINC-TO-STRING function to be used with Java objects 735 * 736 * @return A string in human-readable format, as per PRINC definition 737 */ 738 public String princToString() 739 { 740 LispThread thread = LispThread.currentThread(); 741 SpecialBindingsMark mark = thread.markSpecialBindings(); 742 try { 743 thread.bindSpecial(Symbol.PRINT_READABLY, NIL); 744 thread.bindSpecial(Symbol.PRINT_ESCAPE, NIL); 745 return printObject(); 746 } 747 finally { 748 thread.resetSpecialBindings(mark); 749 } 750 } 751 752 public String printObject() 735 753 { 736 754 return toString(); … … 760 778 761 779 { 762 return unreadableString(symbol. writeToString(), identity);780 return unreadableString(symbol.printObject(), identity); 763 781 } 764 782 … … 1150 1168 public LispObject STRING() 1151 1169 { 1152 return error(new TypeError( writeToString() + " cannot be coerced to a string."));1170 return error(new TypeError(princToString() + " cannot be coerced to a string.")); 1153 1171 } 1154 1172 -
trunk/abcl/src/org/armedbear/lisp/LispStackFrame.java
r12376 r13440 49 49 public UnavailableArgument () { } 50 50 @Override 51 public String writeToString() {51 public String printObject() { 52 52 return unreadableString("unavailable arg", false); 53 53 } … … 115 115 116 116 @Override 117 public String writeToString()117 public String printObject() 118 118 { 119 119 String result = ""; 120 120 final String LISP_STACK_FRAME = "LISP-STACK-FRAME"; 121 121 try { 122 result = Symbol.PRIN1_TO_STRING.execute(this.toLispList()). writeToString();122 result = Symbol.PRIN1_TO_STRING.execute(this.toLispList()).printObject(); 123 123 } catch (Throwable t) { // error while printing stack 124 124 Debug.trace("Serious printing error: "); … … 191 191 String result; 192 192 try { 193 result = this.toLispList(). writeToString();193 result = this.toLispList().printObject(); 194 194 } catch (Throwable t) { // error while printing stack 195 195 Debug.trace("Serious printing error: "); -
trunk/abcl/src/org/armedbear/lisp/LispThread.java
r13137 r13440 587 587 } 588 588 error(new ControlError("Attempt to throw to the nonexistent tag " + 589 tag. writeToString() + "."));589 tag.princToString() + ".")); 590 590 } 591 591 … … 872 872 stream._writeString(sb.toString()); 873 873 } 874 String raw = obj. writeToString();874 String raw = obj.printObject(); 875 875 if (stream.getCharPos() + raw.length() < 80) { 876 876 // It fits. … … 918 918 919 919 @Override 920 public String writeToString()920 public String printObject() 921 921 { 922 922 StringBuffer sb = new StringBuffer("THREAD"); … … 949 949 else 950 950 error(new ProgramError("Unrecognized keyword argument " + 951 args[1]. writeToString() + "."));951 args[1].princToString() + ".")); 952 952 } 953 953 return new LispThread(checkFunction(args[0]), name); -
trunk/abcl/src/org/armedbear/lisp/Load.java
r13353 r13440 289 289 // Look for a init FASL inside a packed FASL 290 290 if (truename != null 291 && truename.type. writeToString().equals(COMPILE_FILE_TYPE) && Utilities.checkZipFile(truename)) {291 && truename.type.princToString().equals(COMPILE_FILE_TYPE) && Utilities.checkZipFile(truename)) { 292 292 Pathname init = new Pathname(truename.getNamestring()); 293 293 init.type = COMPILE_FILE_INIT_FASL_TYPE; … … 417 417 return 418 418 error(new SimpleError("FASL version mismatch; found '" 419 + second. writeToString() + "' but expected '"420 + _FASL_VERSION_.getSymbolValue(). writeToString()419 + second.princToString() + "' but expected '" 420 + _FASL_VERSION_.getSymbolValue().princToString() 421 421 + "' in " 422 + Symbol.LOAD_PATHNAME.symbolValue(thread). writeToString()));422 + Symbol.LOAD_PATHNAME.symbolValue(thread).princToString())); 423 423 } 424 424 } … … 526 526 out._writeString(prefix); 527 527 out._writeString(auto ? " Autoloading " : " Loading "); 528 out._writeString(!truename.equals(NIL) ? truePathname. writeToString() : "stream");528 out._writeString(!truename.equals(NIL) ? truePathname.princToString() : "stream"); 529 529 out._writeLine(" ..."); 530 530 out._finishOutput(); … … 534 534 out._writeString(prefix); 535 535 out._writeString(auto ? " Autoloaded " : " Loaded "); 536 out._writeString(!truename.equals(NIL) ? truePathname. writeToString() : "stream");536 out._writeString(!truename.equals(NIL) ? truePathname.princToString() : "stream"); 537 537 out._writeString(" ("); 538 538 out._writeString(String.valueOf(((float)elapsed)/1000)); … … 577 577 Stream out = 578 578 checkCharacterOutputStream(Symbol.STANDARD_OUTPUT.symbolValue(thread)); 579 out._writeLine(result. writeToString());579 out._writeLine(result.printObject()); 580 580 out._finishOutput(); 581 581 } -
trunk/abcl/src/org/armedbear/lisp/LogicalPathname.java
r12431 r13440 216 216 sb.append(';'); 217 217 else 218 error(new FileError("Unsupported directory component " + part. writeToString() + ".",218 error(new FileError("Unsupported directory component " + part.princToString() + ".", 219 219 this)); 220 220 temp = temp.cdr(); … … 230 230 sb.append(".."); 231 231 else 232 error(new FileError("Unsupported directory component " + part. writeToString() + ".",232 error(new FileError("Unsupported directory component " + part.princToString() + ".", 233 233 this)); 234 234 sb.append(';'); … … 240 240 241 241 @Override 242 public String writeToString()242 public String printObject() 243 243 { 244 244 final LispThread thread = LispThread.currentThread(); -
trunk/abcl/src/org/armedbear/lisp/MacroObject.java
r12288 r13440 130 130 131 131 @Override 132 public String writeToString()132 public String printObject() 133 133 { 134 134 return unreadableString("MACRO-OBJECT"); -
trunk/abcl/src/org/armedbear/lisp/MathFunctions.java
r12940 r13440 668 668 else 669 669 return error(new LispError("EXPT: unsupported case: base is of type " + 670 base.typeOf(). writeToString()));670 base.typeOf().princToString())); 671 671 672 672 if (power instanceof Fixnum) … … 682 682 else 683 683 return error(new LispError("EXPT: unsupported case: power is of type " + 684 power.typeOf(). writeToString()));684 power.typeOf().princToString())); 685 685 double r = Math.pow(x, y); 686 686 if (Double.isNaN(r)) { -
trunk/abcl/src/org/armedbear/lisp/Package.java
r13135 r13440 847 847 848 848 @Override 849 public String writeToString()849 public String printObject() 850 850 { 851 851 if (_PRINT_FASL_.symbolValue() != NIL && name != null) { -
trunk/abcl/src/org/armedbear/lisp/PackageFunctions.java
r12290 r13440 343 343 Package p = Packages.findPackage(string.getStringValue()); 344 344 if (p == null) 345 return error(new LispError(obj. writeToString() +345 return error(new LispError(obj.princToString() + 346 346 " is not the name of a package.")); 347 347 pkg.usePackage(p); -
trunk/abcl/src/org/armedbear/lisp/Pathname.java
r13358 r13440 774 774 } else { 775 775 error(new FileError("Unsupported directory component " 776 + part. writeToString() + ".",776 + part.printObject() + ".", 777 777 this)); 778 778 } … … 788 788 sb.append(".."); 789 789 } else { 790 error(new FileError("Unsupported directory component " + part. writeToString() + ".",790 error(new FileError("Unsupported directory component " + part.princToString() + ".", 791 791 this)); 792 792 } … … 887 887 888 888 @Override 889 public String writeToString() {889 public String printObject() { 890 890 final LispThread thread = LispThread.currentThread(); 891 891 final boolean printReadably = (Symbol.PRINT_READABLY.symbolValue(thread) != NIL); … … 940 940 if (host != NIL) { 941 941 sb.append(":HOST "); 942 sb.append(host. writeToString());942 sb.append(host.printObject()); 943 943 sb.append(" "); 944 944 } 945 945 if (device != NIL) { 946 946 sb.append(":DEVICE "); 947 sb.append(device. writeToString());947 sb.append(device.printObject()); 948 948 sb.append(" "); 949 949 } 950 950 if (directory != NIL) { 951 951 sb.append(":DIRECTORY "); 952 sb.append(directory. writeToString());952 sb.append(directory.printObject()); 953 953 sb.append(" "); 954 954 } 955 955 if (name != NIL) { 956 956 sb.append(":NAME "); 957 sb.append(name. writeToString());957 sb.append(name.printObject()); 958 958 sb.append(" "); 959 959 } 960 960 if (type != NIL) { 961 961 sb.append(":TYPE "); 962 sb.append(type. writeToString());962 sb.append(type.printObject()); 963 963 sb.append(" "); 964 964 } 965 965 if (version != NIL) { 966 966 sb.append(":VERSION "); 967 sb.append(version. writeToString());967 sb.append(version.printObject()); 968 968 sb.append(" "); 969 969 } … … 1068 1068 return new LogicalPathname(host.getStringValue(), s); 1069 1069 } 1070 error(new LispError(host. writeToString() + " is not defined as a logical pathname host."));1070 error(new LispError(host.princToString() + " is not defined as a logical pathname host.")); 1071 1071 // Not reached. 1072 1072 return null; … … 1185 1185 if (namestring == null) { 1186 1186 error(new SimpleError("Pathname has no namestring: " 1187 + pathname. writeToString()));1187 + pathname.princToString())); 1188 1188 } 1189 1189 return new SimpleString(namestring); … … 1375 1375 if (LOGICAL_PATHNAME_TRANSLATIONS.get(logicalHost) == null) { 1376 1376 // Not a defined logical pathname host -- A UNC path 1377 //warning(new LispError(host. writeToString() + " is not defined as a logical pathname host."));1377 //warning(new LispError(host.printObject() + " is not defined as a logical pathname host.")); 1378 1378 p = new Pathname(); 1379 1379 logical = false; … … 1416 1416 p.directory = directory; 1417 1417 } else { 1418 error(new LispError("Invalid directory component for logical pathname: " + directory. writeToString()));1418 error(new LispError("Invalid directory component for logical pathname: " + directory.princToString())); 1419 1419 } 1420 1420 } else { … … 1469 1469 if (signalError) { 1470 1470 StringBuilder sb = new StringBuilder(); 1471 sb.append(first. writeToString());1471 sb.append(first.printObject()); 1472 1472 sb.append(" may not be followed immediately by "); 1473 sb.append(second. writeToString());1473 sb.append(second.printObject()); 1474 1474 sb.append('.'); 1475 1475 error(new FileError(sb.toString(), this)); … … 1631 1631 } 1632 1632 } catch (IOException e) { 1633 return error(new FileError("Unable to list directory " + pathname. writeToString() + ".",1633 return error(new FileError("Unable to list directory " + pathname.princToString() + ".", 1634 1634 pathname)); 1635 1635 } catch (SecurityException e) { … … 1808 1808 while (true) { 1809 1809 if (d.car() instanceof AbstractString) { 1810 String s = d.car(). writeToString();1810 String s = d.car().printObject(); 1811 1811 if (s.contains("*")) { 1812 1812 return true; … … 1823 1823 } 1824 1824 if (name instanceof AbstractString) { 1825 if (name. writeToString().contains("*")) {1825 if (name.printObject().contains("*")) { 1826 1826 return true; 1827 1827 } … … 1831 1831 } 1832 1832 if (type instanceof AbstractString) { 1833 if (type. writeToString().contains("*")) {1833 if (type.printObject().contains("*")) { 1834 1834 return true; 1835 1835 } … … 1883 1883 } else { 1884 1884 return error(new ProgramError("Unrecognized keyword " 1885 + second. writeToString() + "."));1885 + second.princToString() + ".")); 1886 1886 } 1887 1887 if (value == Keyword.WILD || value == Keyword.WILD_INFERIORS) { … … 2127 2127 if (namestring == null) { 2128 2128 return error(new FileError("Pathname has no namestring: " 2129 + pathname. writeToString(),2129 + pathname.princToString(), 2130 2130 pathname)); 2131 2131 } … … 2232 2232 if (errorIfDoesNotExist) { 2233 2233 StringBuilder sb = new StringBuilder("The file "); 2234 sb.append(pathname. writeToString());2234 sb.append(pathname.princToString()); 2235 2235 sb.append(" does not exist."); 2236 2236 return error(new FileError(sb.toString(), pathname)); … … 2462 2462 } 2463 2463 return error(new FileError("Unable to rename " 2464 + original. writeToString()2465 + " to " + newName. writeToString()2464 + original.princToString() 2465 + " to " + newName.princToString() 2466 2466 + ".")); 2467 2467 } -
trunk/abcl/src/org/armedbear/lisp/Primitives.java
r13409 r13440 678 678 value = checkSymbol(arg).symbolValue(); 679 679 if (value instanceof SymbolMacro) 680 return error(new LispError(arg. writeToString() +680 return error(new LispError(arg.princToString() + 681 681 " has no dynamic value.")); 682 682 return value; … … 885 885 886 886 { 887 checkStream(second)._writeString(first. writeToString());887 checkStream(second)._writeString(first.printObject()); 888 888 return first; 889 889 } … … 908 908 else 909 909 out = second; 910 String output = first. writeToString();910 String output = first.printObject(); 911 911 if (Symbol.PRINT_READABLY.symbolValue(LispThread.currentThread()) != NIL 912 912 && output.contains("#<")) { … … 935 935 @Override 936 936 public LispObject execute(LispObject arg) { 937 return new SimpleString(arg. writeToString());937 return new SimpleString(arg.printObject()); 938 938 } 939 939 }; … … 1597 1597 1598 1598 if (args.length == 1 && args[0] instanceof Condition) { 1599 System.out.println(args[0]. writeToString());1599 System.out.println(args[0].princToString()); 1600 1600 System.out.println(((Condition)args[0]).getConditionReport()); 1601 1601 } else 1602 1602 for (LispObject a : args) 1603 System.out.println(a. writeToString());1603 System.out.println(a.princToString()); 1604 1604 1605 1605 throw e; … … 1734 1734 } 1735 1735 error(new TypeError("The value " + 1736 destination. writeToString() +1736 destination.princToString() + 1737 1737 " is not a character output stream.")); 1738 1738 } … … 2424 2424 } else { 2425 2425 return error(new TypeError("The value " + 2426 first. writeToString() +2426 first.princToString() + 2427 2427 " is not an array of rank 0.")); 2428 2428 } … … 3263 3263 Package p = Packages.findPackage(s); 3264 3264 if (p == null) { 3265 error(new LispError(obj. writeToString() +3265 error(new LispError(obj.princToString() + 3266 3266 " is not the name of a package.")); 3267 3267 return NIL; … … 3288 3288 Package p = Packages.findPackage(s); 3289 3289 if (p == null) { 3290 error(new LispError(obj. writeToString() +3290 error(new LispError(obj.princToString() + 3291 3291 " is not the name of a package.")); 3292 3292 return NIL; … … 3714 3714 if (binding == null) 3715 3715 return error(new ControlError("No tag named " + 3716 args.car(). writeToString() +3716 args.car().princToString() + 3717 3717 " is currently visible.")); 3718 3718 … … 4015 4015 function = obj; 4016 4016 } else { 4017 error(new LispError(obj. writeToString() +4017 error(new LispError(obj.princToString() + 4018 4018 " is not a function name.")); 4019 4019 return NIL; -
trunk/abcl/src/org/armedbear/lisp/PrintNotReadable.java
r12431 r13440 86 86 object = getInstanceSlotValue(Symbol.OBJECT); 87 87 if (object != UNBOUND_VALUE) { 88 final LispThread thread = LispThread.currentThread(); 89 final SpecialBindingsMark mark = thread.markSpecialBindings(); 90 thread.bindSpecial(Symbol.PRINT_READABLY, NIL); 91 thread.bindSpecial(Symbol.PRINT_ARRAY, NIL); 92 try { 93 sb.append(object.writeToString()); 94 } 95 finally { 96 thread.resetSpecialBindings(mark); 97 } 88 sb.append(object.princToString()); 98 89 } else 99 90 sb.append("Object"); -
trunk/abcl/src/org/armedbear/lisp/RandomState.java
r13406 r13440 92 92 93 93 @Override 94 public String writeToString()94 public String printObject() 95 95 { 96 96 return unreadableString(Symbol.RANDOM_STATE); -
trunk/abcl/src/org/armedbear/lisp/Ratio.java
r12951 r13440 554 554 555 555 @Override 556 public String writeToString()556 public String printObject() 557 557 { 558 558 final LispThread thread = LispThread.currentThread(); -
trunk/abcl/src/org/armedbear/lisp/Readtable.java
r12749 r13440 292 292 { 293 293 LispCharacter c = LispCharacter.getInstance(dispChar); 294 return error(new LispError(c. writeToString() +294 return error(new LispError(c.princToString() + 295 295 " is not a dispatch character.")); 296 296 } … … 308 308 { 309 309 LispCharacter c = LispCharacter.getInstance(dispChar); 310 error(new LispError(c. writeToString() +310 error(new LispError(c.princToString() + 311 311 " is not a dispatch character.")); 312 312 } … … 427 427 designator = second; 428 428 else 429 return error(new LispError(second. writeToString() +429 return error(new LispError(second.princToString() + 430 430 " does not designate a function.")); 431 431 byte syntaxType; -
trunk/abcl/src/org/armedbear/lisp/Return.java
r12431 r13440 73 73 { 74 74 StringBuilder sb = new StringBuilder("No block named "); 75 sb.append(tag. writeToString());75 sb.append(tag.princToString()); 76 76 sb.append(" is currently visible."); 77 77 return new ControlError(sb.toString()); -
trunk/abcl/src/org/armedbear/lisp/ShellCommand.java
r12803 r13440 260 260 namestring = pathname.getNamestring(); 261 261 if (namestring == null) { 262 return error(new FileError("Pathname has no namestring: " + pathname. writeToString(),262 return error(new FileError("Pathname has no namestring: " + pathname.princToString(), 263 263 pathname)); 264 264 } -
trunk/abcl/src/org/armedbear/lisp/SimpleArray_T.java
r12431 r13440 320 320 321 321 @Override 322 public String writeToString()322 public String printObject() 323 323 { 324 324 return writeToString(dimv); -
trunk/abcl/src/org/armedbear/lisp/SimpleArray_UnsignedByte16.java
r12288 r13440 292 292 293 293 @Override 294 public String writeToString()294 public String printObject() 295 295 { 296 296 if (Symbol.PRINT_READABLY.symbolValue() != NIL) { -
trunk/abcl/src/org/armedbear/lisp/SimpleArray_UnsignedByte32.java
r12288 r13440 282 282 283 283 @Override 284 public String writeToString()284 public String printObject() 285 285 { 286 286 if (Symbol.PRINT_READABLY.symbolValue() != NIL) { -
trunk/abcl/src/org/armedbear/lisp/SimpleArray_UnsignedByte8.java
r12288 r13440 279 279 280 280 @Override 281 public String writeToString()281 public String printObject() 282 282 { 283 283 if (Symbol.PRINT_READABLY.symbolValue() != NIL) { -
trunk/abcl/src/org/armedbear/lisp/SingleFloat.java
r12951 r13440 562 562 563 563 @Override 564 public String writeToString()564 public String printObject() 565 565 { 566 566 if (value == Float.POSITIVE_INFINITY) { 567 567 StringBuffer sb = new StringBuffer("#."); 568 sb.append(Symbol.SINGLE_FLOAT_POSITIVE_INFINITY. writeToString());568 sb.append(Symbol.SINGLE_FLOAT_POSITIVE_INFINITY.printObject()); 569 569 return sb.toString(); 570 570 } 571 571 if (value == Float.NEGATIVE_INFINITY) { 572 572 StringBuffer sb = new StringBuffer("#."); 573 sb.append(Symbol.SINGLE_FLOAT_NEGATIVE_INFINITY. writeToString());573 sb.append(Symbol.SINGLE_FLOAT_NEGATIVE_INFINITY.printObject()); 574 574 return sb.toString(); 575 575 } … … 641 641 if (obj instanceof Ratio) 642 642 return new SingleFloat(((Ratio)obj).floatValue()); 643 error(new TypeError("The value " + obj. writeToString() +643 error(new TypeError("The value " + obj.princToString() + 644 644 " cannot be converted to type SINGLE-FLOAT.")); 645 645 // Not reached. -
trunk/abcl/src/org/armedbear/lisp/SlotDefinition.java
r13273 r13440 117 117 118 118 @Override 119 public String writeToString()119 public String printObject() 120 120 { 121 121 StringBuilder sb = 122 new StringBuilder(Symbol.SLOT_DEFINITION. writeToString());122 new StringBuilder(Symbol.SLOT_DEFINITION.printObject()); 123 123 LispObject name = slots[SlotDefinitionClass.SLOT_INDEX_NAME]; 124 124 if (name != null && name != NIL) 125 125 { 126 126 sb.append(' '); 127 sb.append(name. writeToString());127 sb.append(name.printObject()); 128 128 } 129 129 return unreadableString(sb.toString()); -
trunk/abcl/src/org/armedbear/lisp/SpecialOperator.java
r12288 r13440 147 147 148 148 @Override 149 public String writeToString()149 public String printObject() 150 150 { 151 151 StringBuffer sb = new StringBuffer("#<SPECIAL-OPERATOR "); 152 sb.append(lambdaName. writeToString());152 sb.append(lambdaName.princToString()); 153 153 sb.append(">"); 154 154 return sb.toString(); -
trunk/abcl/src/org/armedbear/lisp/SpecialOperators.java
r12513 r13440 142 142 return error(new LispError("The " + (sequential ? "LET*" : "LET") 143 143 + " binding specification " + 144 obj. writeToString() + " is invalid."));144 obj.princToString() + " is invalid.")); 145 145 symbol = checkSymbol(((Cons)obj).car); 146 146 value = eval(obj.cadr(), sequential ? ext : env, thread); … … 202 202 return error(new ProgramError( 203 203 "Attempt to bind the special variable " + 204 symbol. writeToString() +204 symbol.princToString() + 205 205 " with SYMBOL-MACROLET.")); 206 206 } … … 209 209 return error(new ProgramError( 210 210 "Malformed symbol-expansion pair in SYMBOL-MACROLET: " + 211 obj. writeToString()));211 obj.princToString())); 212 212 } 213 213 } … … 520 520 Symbol symbol = checkSymbol(args.car()); 521 521 if (symbol.isConstant()) { 522 return error(new ProgramError(symbol. writeToString() +522 return error(new ProgramError(symbol.princToString() + 523 523 " is a constant and thus cannot be set.")); 524 524 } -
trunk/abcl/src/org/armedbear/lisp/StandardClass.java
r13273 r13440 140 140 LispThread.currentThread().printBacktrace(); 141 141 return (Layout)Lisp.error(Symbol.TYPE_ERROR, 142 new SimpleString("The value " + layout. writeToString()143 + " is not of expected type " + Symbol.LAYOUT. writeToString()144 + " in class " + this. writeToString() + "."));142 new SimpleString("The value " + layout.princToString() 143 + " is not of expected type " + Symbol.LAYOUT.princToString() 144 + " in class " + this.princToString() + ".")); 145 145 } 146 146 … … 321 321 322 322 @Override 323 public String writeToString()323 public String printObject() 324 324 { 325 325 StringBuilder sb = 326 new StringBuilder(Symbol.STANDARD_CLASS. writeToString());326 new StringBuilder(Symbol.STANDARD_CLASS.printObject()); 327 327 if (getName() != null) 328 328 { 329 329 sb.append(' '); 330 sb.append(getName(). writeToString());330 sb.append(getName().printObject()); 331 331 } 332 332 return unreadableString(sb.toString()); -
trunk/abcl/src/org/armedbear/lisp/StandardGenericFunction.java
r12954 r13440 204 204 205 205 @Override 206 public String writeToString()206 public String printObject() 207 207 { 208 208 LispObject name = getGenericFunctionName(); … … 217 217 className = Symbol.CLASS_NAME.execute(lispClass); 218 218 219 sb.append(className. writeToString());219 sb.append(className.princToString()); 220 220 sb.append(' '); 221 sb.append(name. writeToString());221 sb.append(name.princToString()); 222 222 return unreadableString(sb.toString()); 223 223 } 224 return super. writeToString();224 return super.printObject(); 225 225 } 226 226 -
trunk/abcl/src/org/armedbear/lisp/StandardMethod.java
r12576 r13440 146 146 147 147 @Override 148 public String writeToString()148 public String printObject() 149 149 { 150 150 LispObject genericFunction = … … 164 164 className = Symbol.CLASS_NAME.execute(lispClass); 165 165 166 sb.append(className. writeToString());166 sb.append(className.printObject()); 167 167 sb.append(' '); 168 sb.append(name. writeToString());168 sb.append(name.printObject()); 169 169 LispObject specializers = 170 170 slots[StandardMethodClass.SLOT_INDEX_SPECIALIZERS]; … … 183 183 } 184 184 sb.append(' '); 185 sb.append(names.nreverse(). writeToString());185 sb.append(names.nreverse().printObject()); 186 186 } 187 187 return unreadableString(sb.toString()); 188 188 } 189 189 } 190 return super. writeToString();190 return super.printObject(); 191 191 } 192 192 -
trunk/abcl/src/org/armedbear/lisp/StandardObject.java
r13399 r13440 197 197 198 198 @Override 199 public String writeToString()199 public String printObject() 200 200 { 201 201 final LispThread thread = LispThread.currentThread(); … … 209 209 if (currentLevel >= maxLevel) 210 210 return "#"; 211 return unreadableString(typeOf(). writeToString());211 return unreadableString(typeOf().printObject()); 212 212 } 213 213 … … 305 305 //### FIXME: should call SLOT-MISSING (clhs) 306 306 if (index < 0) 307 return error(new LispError("Missing slot " + slotName. writeToString()));307 return error(new LispError("Missing slot " + slotName.princToString())); 308 308 return slots[index]; 309 309 } … … 323 323 //### FIXME: should call SLOT-MISSING (clhs) 324 324 if (index < 0) 325 error(new LispError("Missing slot " + slotName. writeToString()));325 error(new LispError("Missing slot " + slotName.princToString())); 326 326 slots[index] = newValue; 327 327 } -
trunk/abcl/src/org/armedbear/lisp/StandardObjectFunctions.java
r13201 r13440 52 52 LispObject l = Symbol.CLASS_LAYOUT.execute(arg); 53 53 if (! (l instanceof Layout)) 54 return error(new ProgramError("Invalid standard class layout for: " + arg. writeToString()));54 return error(new ProgramError("Invalid standard class layout for: " + arg.princToString())); 55 55 56 56 return new StandardObject((Layout)l); -
trunk/abcl/src/org/armedbear/lisp/Stream.java
r13178 r13440 577 577 if ((length % 2) != 0) 578 578 return error(new ReaderError("Odd number of keyword arguments following #S: " + 579 obj. writeToString(),579 obj.princToString(), 580 580 this)); 581 581 LispObject[] array = new LispObject[length]; … … 595 595 } 596 596 return error(new ReaderError("Non-list following #S: " + 597 obj. writeToString(),597 obj.princToString(), 598 598 this)); 599 599 } … … 667 667 if (!obj.listp()) 668 668 error(new ReaderError("The value " + 669 obj. writeToString() +669 obj.princToString() + 670 670 " is not of type " + 671 Symbol.LIST. writeToString() + ".",671 Symbol.LIST.princToString() + ".", 672 672 this)); 673 673 } … … 930 930 if (obj.listp() || obj instanceof AbstractVector) 931 931 return new SimpleVector(obj); 932 return error(new ReaderError(obj. writeToString() + " is not a sequence.",932 return error(new ReaderError(obj.princToString() + " is not a sequence.", 933 933 this)); 934 934 } … … 961 961 } 962 962 sb.append(": #C"); 963 sb.append(obj. writeToString());963 sb.append(obj.printObject()); 964 964 return error(new ReaderError(sb.toString(), this)); 965 965 } … … 1620 1620 thread.bindSpecial(Symbol.PRINT_ESCAPE, T); 1621 1621 try { 1622 _writeString(obj. writeToString());1622 _writeString(obj.printObject()); 1623 1623 } finally { 1624 1624 thread.resetSpecialBindings(mark); … … 1672 1672 return number(arg.length()); 1673 1673 } 1674 return error(new TypeError(arg. writeToString() +1674 return error(new TypeError(arg.princToString() + 1675 1675 " is neither a string nor a character.")); 1676 1676 } … … 1972 1972 1973 1973 protected LispObject streamNotInputStream() { 1974 return error(new StreamError(this, writeToString() + " is not an input stream."));1974 return error(new StreamError(this, princToString() + " is not an input stream.")); 1975 1975 } 1976 1976 1977 1977 protected LispObject streamNotCharacterInputStream() { 1978 return error(new StreamError(this, writeToString() + " is not a character input stream."));1978 return error(new StreamError(this, princToString() + " is not a character input stream.")); 1979 1979 } 1980 1980 1981 1981 protected LispObject streamNotOutputStream() { 1982 return error(new StreamError(this, writeToString() + " is not an output stream."));1982 return error(new StreamError(this, princToString() + " is not an output stream.")); 1983 1983 } 1984 1984 1985 1985 protected LispObject streamNotBinaryOutputStream() { 1986 return error(new StreamError(this, writeToString() + " is not a binary output stream."));1986 return error(new StreamError(this, princToString() + " is not a binary output stream.")); 1987 1987 } 1988 1988 1989 1989 protected LispObject streamNotCharacterOutputStream() { 1990 return error(new StreamError(this, writeToString() + " is not a character output stream."));1990 return error(new StreamError(this, princToString() + " is not a character output stream.")); 1991 1991 } 1992 1992 … … 2131 2131 return stream.close(third); 2132 2132 return error(new ProgramError("Unrecognized keyword argument " + 2133 second. writeToString() + "."));2133 second.princToString() + ".")); 2134 2134 } 2135 2135 }; -
trunk/abcl/src/org/armedbear/lisp/StructureClass.java
r12513 r13440 73 73 public LispObject getDescription() 74 74 { 75 return new SimpleString( writeToString());75 return new SimpleString(princToString()); 76 76 } 77 77 78 78 @Override 79 public String writeToString()79 public String printObject() 80 80 { 81 81 StringBuffer sb = new StringBuffer("#<STRUCTURE-CLASS "); 82 sb.append(getName(). writeToString());82 sb.append(getName().princToString()); 83 83 sb.append('>'); 84 84 return sb.toString(); -
trunk/abcl/src/org/armedbear/lisp/StructureObject.java
r12756 r13440 422 422 { 423 423 StringBuilder sb = new StringBuilder("Invalid slot index "); 424 sb.append(Fixnum.getInstance(n). writeToString());424 sb.append(Fixnum.getInstance(n).princToString()); 425 425 sb.append(" for "); 426 sb.append( writeToString());426 sb.append(princToString()); 427 427 return error(new LispError(sb.toString())); 428 428 } … … 450 450 451 451 @Override 452 public String writeToString()452 public String printObject() 453 453 { 454 454 try … … 465 465 } 466 466 if (_PRINT_STRUCTURE_.symbolValue(thread) == NIL) 467 return unreadableString(structureClass.getName(). writeToString());467 return unreadableString(structureClass.getName().printObject()); 468 468 int maxLevel = Integer.MAX_VALUE; 469 469 LispObject printLevel = Symbol.PRINT_LEVEL.symbolValue(thread); … … 476 476 return "#"; 477 477 StringBuilder sb = new StringBuilder("#S("); 478 sb.append(structureClass.getName(). writeToString());478 sb.append(structureClass.getName().printObject()); 479 479 if (currentLevel < maxLevel) 480 480 { … … 508 508 } 509 509 else 510 sb.append(slots[i]. writeToString());510 sb.append(slots[i].printObject()); 511 511 } 512 512 if (limit < slots.length) -
trunk/abcl/src/org/armedbear/lisp/Symbol.java
r13369 r13440 131 131 { 132 132 StringBuilder sb = new StringBuilder("The symbol "); 133 sb.append(name. writeToString());133 sb.append(name.princToString()); 134 134 sb.append(" at #x"); 135 135 sb.append(Integer.toHexString(System.identityHashCode(this)).toUpperCase()); … … 301 301 if (isConstant()) 302 302 // Complement the check already done in SpecialOperators.sf_setq 303 error(new ProgramError("Can't change value of constant symbol " + writeToString() + "."));303 error(new ProgramError("Can't change value of constant symbol " + princToString() + ".")); 304 304 this.value = value; 305 305 } … … 446 446 447 447 @Override 448 public String writeToString()448 public String printObject() 449 449 { 450 450 final String n = name.getStringValue(); -
trunk/abcl/src/org/armedbear/lisp/SynonymStream.java
r12513 r13440 216 216 217 217 @Override 218 public String writeToString()218 public String printObject() 219 219 { 220 220 StringBuffer sb = new StringBuffer("SYNONYM-STREAM "); 221 sb.append(symbol. writeToString());221 sb.append(symbol.printObject()); 222 222 return unreadableString(sb.toString()); 223 223 } -
trunk/abcl/src/org/armedbear/lisp/Throw.java
r12298 r13440 58 58 { 59 59 return new ControlError("Attempt to throw to the nonexistent tag " + 60 tag. writeToString() + ".");60 tag.princToString() + "."); 61 61 } 62 62 } -
trunk/abcl/src/org/armedbear/lisp/TwoWayStream.java
r12362 r13440 215 215 216 216 @Override 217 public String writeToString()217 public String printObject() 218 218 { 219 219 return unreadableString(Symbol.TWO_WAY_STREAM); -
trunk/abcl/src/org/armedbear/lisp/TypeError.java
r12431 r13440 140 140 final LispObject expectedType = getExpectedType(); 141 141 StringBuilder sb = new StringBuilder(); 142 String name = datum != null ? datum. writeToString() : null;142 String name = datum != null ? datum.princToString() : null; 143 143 String type = null; 144 144 if (expectedType != null) 145 type = expectedType. writeToString();145 type = expectedType.princToString(); 146 146 if (type != null) { 147 147 if (name != null) { -
trunk/abcl/src/org/armedbear/lisp/URLStream.java
r13405 r13440 136 136 137 137 @Override 138 public String writeToString()138 public String printObject() 139 139 { 140 140 StringBuffer sb = new StringBuffer(); 141 sb.append(Symbol.URL_STREAM. writeToString());141 sb.append(Symbol.URL_STREAM.printObject()); 142 142 String namestring = pathname.getNamestring(); 143 143 if (namestring != null) { -
trunk/abcl/src/org/armedbear/lisp/UnboundSlot.java
r12431 r13440 77 77 try { 78 78 StringBuilder sb = new StringBuilder("The slot "); 79 sb.append(getCellName(). writeToString());79 sb.append(getCellName().princToString()); 80 80 sb.append(" is unbound in the object "); 81 sb.append(getInstance(). writeToString());81 sb.append(getInstance().princToString()); 82 82 sb.append('.'); 83 83 return sb.toString(); -
trunk/abcl/src/org/armedbear/lisp/UnboundVariable.java
r12298 r13440 56 56 StringBuffer sb = new StringBuffer("The variable "); 57 57 try { 58 sb.append(getCellName(). writeToString());58 sb.append(getCellName().princToString()); 59 59 } 60 60 finally { -
trunk/abcl/src/org/armedbear/lisp/UndefinedFunction.java
r12431 r13440 74 74 { 75 75 StringBuilder sb = new StringBuilder("The function "); 76 sb.append(getCellName(). writeToString());76 sb.append(getCellName().princToString()); 77 77 sb.append(" is undefined."); 78 78 return sb.toString(); -
trunk/abcl/src/org/armedbear/lisp/Utilities.java
r13056 r13440 105 105 if (namestring != null) 106 106 return new File(namestring); 107 error(new FileError("Pathname has no namestring: " + merged. writeToString(),107 error(new FileError("Pathname has no namestring: " + merged.princToString(), 108 108 merged)); 109 109 // Not reached. -
trunk/abcl/src/org/armedbear/lisp/WeakHashTable.java
r13405 r13440 316 316 317 317 @Override 318 public String writeToString() {318 public String printObject() { 319 319 if (Symbol.PRINT_READABLY.symbolValue(LispThread.currentThread()) != NIL) { 320 320 error(new PrintNotReadable(list(Keyword.OBJECT, this))); 321 321 return null; // Not reached. 322 322 } 323 StringBuilder sb = new StringBuilder(getTest(). writeToString());323 StringBuilder sb = new StringBuilder(getTest().princToString()); 324 324 sb.append(' '); 325 sb.append(Symbol.HASH_TABLE. writeToString());325 sb.append(Symbol.HASH_TABLE.princToString()); 326 326 sb.append(' '); 327 327 if (bucketType instanceof HashEntryWeakKey) { -
trunk/abcl/src/org/armedbear/lisp/WeakReference.java
r13405 r13440 54 54 55 55 @Override 56 public String writeToString() {56 public String printObject() { 57 57 return unreadableString("WEAK-REFERENCE " 58 58 + toString()); -
trunk/abcl/src/org/armedbear/lisp/WrongNumberOfArgumentsException.java
r13259 r13440 77 77 if (lambdaName != null && lambdaName != NIL) { 78 78 sb.append(" for "); 79 sb.append(operator.getLambdaName(). writeToString());79 sb.append(operator.getLambdaName().princToString()); 80 80 } 81 81 if(expectedArgs >= 0) { -
trunk/abcl/src/org/armedbear/lisp/ZeroRankArray.java
r12288 r13440 135 135 136 136 @Override 137 public String writeToString()137 public String printObject() 138 138 { 139 139 final LispThread thread = LispThread.currentThread(); … … 154 154 sb.append(stream.getString().getStringValue()); 155 155 } else 156 sb.append(data. writeToString());156 sb.append(data.printObject()); 157 157 return sb.toString(); 158 158 } … … 161 161 sb.append("SIMPLE-"); 162 162 sb.append("ARRAY "); 163 sb.append(elementType. writeToString());163 sb.append(elementType.printObject()); 164 164 sb.append(" NIL"); 165 165 return unreadableString(sb.toString()); -
trunk/abcl/src/org/armedbear/lisp/delete_file.java
r12448 r13440 66 66 final String namestring = defaultedPathname.getNamestring(); 67 67 if (namestring == null) 68 return error(new FileError("Pathname has no namestring: " + defaultedPathname. writeToString(),68 return error(new FileError("Pathname has no namestring: " + defaultedPathname.princToString(), 69 69 defaultedPathname)); 70 70 final File file = new File(namestring); … … 81 81 StringBuilder sb = new StringBuilder("Unable to delete "); 82 82 sb.append(file.isDirectory() ? "directory " : "file "); 83 sb.append(truename. writeToString());83 sb.append(truename.princToString()); 84 84 sb.append('.'); 85 85 return error(new FileError(sb.toString(), truename)); -
trunk/abcl/src/org/armedbear/lisp/jclass_name.java
r12288 r13440 67 67 // Fall through. 68 68 } 69 return error(new LispError(arg. writeToString() + " does not designate a Java class."));69 return error(new LispError(arg.princToString() + " does not designate a Java class.")); 70 70 } 71 71 … … 89 89 } 90 90 if (className == null) 91 return error(new LispError(first. writeToString() + " does not designate a Java class."));91 return error(new LispError(first.princToString() + " does not designate a Java class.")); 92 92 final AbstractString name = checkString(second); 93 93 return LispThread.currentThread().setValues(name.getStringValue().equals(className) ? T : NIL, -
trunk/abcl/src/org/armedbear/lisp/jmethod_return_type.java
r12288 r13440 56 56 return new JavaObject(((Method)method).getReturnType()); 57 57 } 58 return error(new LispError(arg. writeToString() + " does not designate a Java method."));58 return error(new LispError(arg.princToString() + " does not designate a Java method.")); 59 59 } 60 60 -
trunk/abcl/src/org/armedbear/lisp/jvm-class-file.lisp
r13435 r13440 904 904 attribute) 905 905 906 (defun method-add-code (method )906 (defun method-add-code (method &optional (optimize t)) 907 907 "Creates an (empty) 'Code' attribute for the method, 908 908 returning the created attribute." … … 911 911 (make-code-attribute (+ (length (cdr (method-descriptor method))) 912 912 (if (member :static (method-access-flags method)) 913 0 1))))) ;; 1 == implicit 'this' 914 915 (defun method-ensure-code (method) 913 0 1)) ;; 1 == implicit 'this' 914 optimize))) 915 916 (defun method-ensure-code (method &optional (optimize t)) 916 917 "Ensures the existence of a 'Code' attribute for the method, 917 918 returning the attribute." 918 919 (let ((code (method-attribute method "Code"))) 919 920 (if (null code) 920 (method-add-code method )921 (method-add-code method optimize) 921 922 code))) 922 923 … … 1003 1004 ;; labels contains offsets into the code array after it's finalized 1004 1005 labels ;; an alist 1005 1006 optimize 1006 1007 (current-local 0)) ;; used for handling nested WITH-CODE-TO-METHOD blocks 1007 1008 … … 1027 1028 (mapcar #'exception-end-pc handlers) 1028 1029 (mapcar #'exception-handler-pc handlers)) 1029 t)))1030 (code-optimize code)))) 1030 1031 (invoke-callbacks :code-finalized class parent 1031 1032 (coerce c 'list) handlers) … … 1087 1088 (write-attributes (code-attributes code) stream)) 1088 1089 1089 (defun make-code-attribute (arg-count )1090 (defun make-code-attribute (arg-count &optional optimize) 1090 1091 "Creates an empty 'Code' attribute for a method which takes 1091 1092 `arg-count` parameters, including the implicit `this` parameter." 1092 (%make-code-attribute :max-locals arg-count ))1093 (%make-code-attribute :max-locals arg-count :optimize optimize)) 1093 1094 1094 1095 (defun code-add-attribute (code attribute) … … 1193 1194 (when *current-code-attribute* 1194 1195 (save-code-specials *current-code-attribute*)) 1195 (let* ((,m ,method) 1196 (*method* ,m) 1197 (,c (method-ensure-code ,method)) 1198 (*pool* (class-file-constants ,class-file)) 1199 (*code* (code-code ,c)) 1200 (*registers-allocated* (code-max-locals ,c)) 1201 (*register* (code-current-local ,c)) 1202 (*current-code-attribute* ,c)) 1203 ,@body 1204 (setf (code-code ,c) *code* 1205 (code-current-local ,c) *register* 1206 (code-max-locals ,c) *registers-allocated*)) 1207 (when *current-code-attribute* 1208 (restore-code-specials *current-code-attribute*))))) 1196 (unwind-protect 1197 (let* ((,m ,method) 1198 (*method* ,m) 1199 (,c (method-ensure-code ,method)) 1200 (*pool* (class-file-constants ,class-file)) 1201 (*code* (code-code ,c)) 1202 (*registers-allocated* (code-max-locals ,c)) 1203 (*register* (code-current-local ,c)) 1204 (*current-code-attribute* ,c)) 1205 (unwind-protect 1206 ,@body 1207 ;; in case of a RETURN-FROM or GO, save the current state 1208 (setf (code-code ,c) *code* 1209 (code-current-local ,c) *register* 1210 (code-max-locals ,c) *registers-allocated*))) 1211 ;; using the same line of reasoning, restore the outer-scope state 1212 (when *current-code-attribute* 1213 (restore-code-specials *current-code-attribute*)))))) 1209 1214 1210 1215 -
trunk/abcl/src/org/armedbear/lisp/zip.java
r13336 r13440 73 73 if (zipfileNamestring == null) 74 74 return error(new SimpleError("Pathname has no namestring: " + 75 zipfilePathname. writeToString()));75 zipfilePathname.princToString())); 76 76 ZipOutputStream out = 77 77 new ZipOutputStream(new FileOutputStream(zipfileNamestring)); … … 86 86 zipfile.delete(); 87 87 return error(new SimpleError("Pathname has no namestring: " 88 + pathname. writeToString()));88 + pathname.princToString())); 89 89 } 90 90 File file = new File(namestring); … … 110 110 if (zipfileNamestring == null) 111 111 return error(new SimpleError("Pathname has no namestring: " + 112 zipfilePathname. writeToString()));112 zipfilePathname.princToString())); 113 113 ZipOutputStream out = 114 114 new ZipOutputStream(new FileOutputStream(zipfileNamestring)); … … 127 127 zipfile.delete(); 128 128 return error(new SimpleError("Pathname has no namestring: " + 129 pathname. writeToString()));129 pathname.princToString())); 130 130 } 131 131 String directory = ""; … … 200 200 if (zipfileNamestring == null) 201 201 return error(new SimpleError("Pathname has no namestring: " + 202 zipfilePathname. writeToString()));202 zipfilePathname.princToString())); 203 203 ZipOutputStream out = null; 204 204 try {
Note: See TracChangeset
for help on using the changeset viewer.