This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Class types
- From: Chris Dean <ctdean at sokitomi dot com>
- To: Kawa List <kawa at sources dot redhat dot com>
- Date: Thu, 13 May 2004 00:08:59 -0700
- Subject: Class types
How do I get the class of a Java type without generating a warning?
This, for example, gives a warning:
(define (foo)
(invoke <java.util.Date> 'getClass))
% java kawa.repl --warn-undefined-variable -C Foo.scm
(compiling Foo.scm)
Foo.scm:11:11: warning - no declaration seen for <java.util.Date>
Regards,
Chris Dean