I would be interested in seeing a full stack trace and some pastbined code. there are no clojure strings, just java strings, and java strings are charsequences.
On Thu, Apr 16, 2009 at 11:25 AM, prhlava <prhl...@googlemail.com> wrote: > > > Hello, > > I am trying to use a java library ( http://code.google.com/p/webdriver/ > ), the method I need to call has signature: > > sendKeys(java.lang.CharSequence... keysToSend) > > If I give it a clojure string, the "cannot be cast" message appears in > the stack trace. > > I have tried explicit (cast java.lang.CharSequence "my-string") but > the cast does only "compare" AFAIK. > > Is there a way to give the library what it wants from Clojure? > > Kind regards, > > Vlad > > > -- And what is good, Phaedrus, And what is not good— Need we ask anyone to tell us these things? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---