Try using reflection to print out what the JVM thinks the field's name is. This might help.
On Sep 8, 1:23 am, Jon Seltzer <seltzer1...@gmail.com> wrote: > Suppose you have a class projects.test.A: > > package projects.test; > > public class A > { > public A(){super();} > public boolean y; > public boolean $z; > > } > > and I want to use set to update both values: > > user=> (def m (A.)) ; Create a ref m to new instance of A > #'user/m > > user=> (set! (. m y) true) ; No problems updating y. > true > > user=> (set! (. m $z) true) > java.lang.IllegalArgumentException: No matching field found: > _DOLLARSIGN_z for class projects.test.A > (NO_SOURCE_FILE:0) > > Is there a special syntax for handling java members with $'s in their > names? -- 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 Note that posts from new members are moderated - please be patient with your first post. 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