Re: Cannot access a public static volatile field

2013-03-16 Thread Marko Topolnik
On Sunday, March 17, 2013 6:02:07 AM UTC+1, vemv wrote: > Ahhh I tracked it down - the class was not public. I thought .java files > had to define at least (and at most) *one* public class/enum/interface. > > How much sense can it make to define a private class in its own file? :( > It makes per

Re: Cannot access a public static volatile field

2013-03-16 Thread vemv
Ahhh I tracked it down - the class was not public. I thought .java files had to define at least (and at most) *one* public class/enum/interface. How much sense can it make to define a private class in its own file? :( On Sunday, March 17, 2013 5:54:58 AM UTC+1, vemv wrote: > > The relevant Java

Cannot access a public static volatile field

2013-03-16 Thread vemv
The relevant Java code: // its class extends Thread // assigned a value in static initializer public static volatile ClassLoader classLoader = null; What happens when I try access it from Clojure: user=> vemv.NGSession/classLoader IllegalAccessException Class clojure.lang.Reflector can not acc