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]

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


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