[armedbear-cvs] r13366 - trunk/abcl/src/org/armedbear/lisp
mevenson at common-lisp.net
mevenson at common-lisp.net
Wed Jun 29 15:34:59 UTC 2011
Author: mevenson
Date: Wed Jun 29 08:34:58 2011
New Revision: 13366
Log:
Remove deprecated use of JAVA:MAKE-IMMEDIATE-OBJECT.
Modified:
trunk/abcl/src/org/armedbear/lisp/java.lisp
Modified: trunk/abcl/src/org/armedbear/lisp/java.lisp
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/java.lisp Tue Jun 28 08:28:38 2011 (r13365)
+++ trunk/abcl/src/org/armedbear/lisp/java.lisp Wed Jun 29 08:34:58 2011 (r13366)
@@ -66,8 +66,7 @@
if (evenp i)
do (assert (stringp m) (m) "Method names must be strings: ~s" m) and collect m
else
- do (assert (or (symbolp m) (functionp m)) (m) "Methods must be function designators: ~s" m)))
- (null (make-immediate-object nil :ref)))
+ do (assert (or (symbolp m) (functionp m)) (m) "Methods must be function designators: ~s" m))))
(loop for method across
(jclass-methods interface :declared nil :public t)
for method-name = (jmethod-name method)
@@ -78,7 +77,7 @@
(def `(lambda
,arglist
,(when arglist '(declare (ignore ignore)))
- ,(if void-p '(values) null))))
+ ,(if void-p '(values) java:+null+))))
(warn "Implementing dummy method ~a for interface ~a"
method-name (jclass-name interface))
(push (coerce def 'function) method-names-and-defs)
More information about the armedbear-cvs
mailing list