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

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

2019-03-24 Thread Răzvan Rotaru
Hi, I am trying to use OpenJFX 11.0.2 (for Linux) with Clojure and https://github.com/fn-fx/fn-fx, and stumbled upon a problem for which I would like to ask for advice here. The Problem occurs during compilation of some clojure code, which triggers class loading for javafx.stage.Screen, which fail