Hi,

This question in StackOverflow.com shows that it's not possible to
access constructors and fields of existing Java classes with package-
level access:

http://stackoverflow.com/questions/5540931/clojure-cant-access-non-public-fields-in-the-same-package

Since integration with existing Java code is a big goal of clojure, I
think this might be an issue.

The solution seems simple enough, maybe replace methods
getConstructors and getFields with their counter-parts
getDeclaredConstructors and getDeclaredFields ? The Declared* versions
also return the default and private {constructor,fields} from a class.

I'm not sure whether this brings an impact in performance though.

Should I file a bug about this ?

[]'s
Leonel

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to