This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bug in compilation


Please try the attached patch.
--
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/
Index: SlotGet.java
===================================================================
RCS file: /cvs/kawa/kawa/gnu/kawa/reflect/SlotGet.java,v
retrieving revision 1.15
diff -u -r1.15 SlotGet.java
--- SlotGet.java	31 Jan 2002 23:46:33 -0000	1.15
@@ -246,6 +246,8 @@
 	    if ("gnu.mapping.Binding".equals(ftype.getName())
 		&& (modifiers & Access.FINAL) != 0)
 	      code.emitInvokeVirtual(Compilation.getLocationMethod);
+	    Interpreter interpreter = Interpreter.getInterpreter();
+	    ftype = interpreter.getTypeFor(ftype.getReflectClass());
 	    target.compileFromStack(comp, ftype);
             return;
           }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]