Changeset 14467
- Timestamp:
- 04/24/13 12:50:43 (10 years ago)
- Location:
- trunk/abcl
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/doc/manual/abcl.tex
r14409 r14467 843 843 specialization has a corresponding \textsc{URI} whose canonical 844 844 representation is defined to be the \code{NAMESTRING} of the 845 \c pde{CL:PATHNAME}. The \code{EXT:JAR-PATHNAME} extension further845 \code{CL:PATHNAME}. The \code{EXT:JAR-PATHNAME} extension further 846 846 specializes the the \code{EXT:URL-PATHNAME} to provide access to 847 847 components of zip archives. … … 1108 1108 specified in \textsc{(A)MOP}. The symbols are exported from the 1109 1109 package \code{MOP}. 1110 1111 Contrary to the AMOP specification and following \textsc{SBCL}'s lead, 1112 the metaclass \code{funcallable-standard-object} has 1113 \code{funcallable-standard-class} as metaclass instead of 1114 \code{standard-class}. 1110 1115 1111 1116 \subsection{Specializing on Java classes} -
trunk/abcl/doc/manual/abcl.texi
r14405 r14467 1466 1466 The symbols are exported from the package @code{MOP}. 1467 1467 1468 Contrary to the AMOP specification and following SBCL's lead, 1469 the metaclass @code{funcallable-standard-object} has 1470 @code{funcallable-standard-class} as metaclass instead of 1471 @code{standard-class}. 1472 1468 1473 @node Specializing on Java classes 1469 1474 @subsection Specializing on Java classes -
trunk/abcl/src/org/armedbear/lisp/StandardClass.java
r14464 r14467 425 425 } 426 426 427 private static final FuncallableStandardClass addFuncallableStandardClass 428 (Symbol name, LispObject directSuperclasses) 429 { 430 FuncallableStandardClass c = new FuncallableStandardClass(name, directSuperclasses); 431 addClass(name, c); 432 return c; 433 } 434 427 435 // At this point, BuiltInClass.java has not been completely loaded yet, and 428 436 // BuiltInClass.CLASS_T is null. So we need to call setDirectSuperclass() … … 467 475 468 476 // BuiltInClass.FUNCTION is also null here (see previous comment). 477 // Following SBCL's lead, we make funcallable-standard-object a 478 // funcallable-standard-class. 469 479 public static final StandardClass FUNCALLABLE_STANDARD_OBJECT = 470 add StandardClass(Symbol.FUNCALLABLE_STANDARD_OBJECT,480 addFuncallableStandardClass(Symbol.FUNCALLABLE_STANDARD_OBJECT, 471 481 list(STANDARD_OBJECT, BuiltInClass.FUNCTION)); 472 482 473 483 public static final StandardClass GENERIC_FUNCTION = 474 new FuncallableStandardClass(Symbol.GENERIC_FUNCTION, 475 list(METAOBJECT, FUNCALLABLE_STANDARD_OBJECT)); 476 static { 477 addClass(Symbol.GENERIC_FUNCTION, GENERIC_FUNCTION); 478 } 484 addFuncallableStandardClass(Symbol.GENERIC_FUNCTION, 485 list(METAOBJECT, FUNCALLABLE_STANDARD_OBJECT)); 479 486 480 487 public static final StandardClass CLASS =
Note: See TracChangeset
for help on using the changeset viewer.