[armedbear-cvs] r12775 - trunk/abcl/src/org/armedbear/lisp

Mark Evenson mevenson at common-lisp.net
Fri Jul 2 09:42:26 UTC 2010


Author: mevenson
Date: Fri Jul  2 05:42:24 2010
New Revision: 12775

Log:
Fix compiler errors.



Modified:
   trunk/abcl/src/org/armedbear/lisp/JProxy.java

Modified: trunk/abcl/src/org/armedbear/lisp/JProxy.java
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/JProxy.java	(original)
+++ trunk/abcl/src/org/armedbear/lisp/JProxy.java	Fri Jul  2 05:42:24 2010
@@ -223,10 +223,10 @@
 			Class[] ifaces = new Class[args[0].length()];
 			LispObject ifList = args[0];
 			for(int i = 0; i < ifaces.length; i++) {
-			    ifaces[i] = ifList.car().javaInstance(Class.class);
+                          ifaces[i] = (Class) ifList.car().javaInstance(Class.class);
 			    ifList = ifList.cdr();
 			}
-	      		InvocationHandler invocationHandler = ((JavaObject) args[1]).javaInstance(InvocationHandler.class);
+	      		InvocationHandler invocationHandler = (InvocationHandler) ((JavaObject) args[1]).javaInstance(InvocationHandler.class);
 	      		Object proxy = Proxy.newProxyInstance(
 	      				JavaClassLoader.getCurrentClassLoader(),
 	      				ifaces,




More information about the armedbear-cvs mailing list