Re: static initialisation of javafx.stage.Screen causing problems with clojure

2019-03-27 Thread Peter Levart
On 3/26/19 1:18 PM, Răzvan Rotaru wrote: Thank you. I don't know whether the clojure compiler needs initialized classes or not, but I suspect it does. Clojure has macros, which are executed at compile time, which means some classes are instantiated. I will ask the clojure developers. If that's

Re: static initialisation of javafx.stage.Screen causing problems with clojure

2019-03-26 Thread Răzvan Rotaru
Thank you. I don't know whether the clojure compiler needs initialized classes or not, but I suspect it does. Clojure has macros, which are executed at compile time, which means some classes are instantiated. I will ask the clojure developers. If that's the case though it means clojure will not be

Re: static initialisation of javafx.stage.Screen causing problems with clojure

2019-03-25 Thread Peter Levart
Hi Razvan, I don't know Clojure but if this happens during compilation of Clojure source(s) (in clojure.lang.Compile), then the question is: Does Clojure compiler really need to execute static initializers of classes it is "resolving"? It seems it needs to load the classes (presumably because