Re: Access constructor and fields with default (package) access level

2011-04-06 Thread Armando Blancas
> Should I file a bug about this ? File it. Access to package-private fields is a legitimate implementation decision. It's self-defeating for Clojure to put up obstacles when its adoption will most likely grow mixed with Java, and for maintenance. It makes no difference if you can use reflection o

Re: Access constructor and fields with default (package) access level

2011-04-05 Thread Kevin Downey
you can easily access a packaged scoped field using reflection without having to write java. in fact there are functions in contrib to do just that, please use them instead of writing java. On Tue, Apr 5, 2011 at 3:18 PM, Stuart Sierra wrote: > It's a legitimate concern, but not necessarily a bug

Re: Access constructor and fields with default (package) access level

2011-04-05 Thread Stuart Sierra
It's a legitimate concern, but not necessarily a bug at this point. So it becomes a design decision: should Clojure support access to package-scoped fields? Personally, my initial reaction is that it should not. Package-scoped fields are a quirk of Java. The solution on StackOverflow is adeq