Re: Compiling gen-class runs static initializers: workarounds, solutions?

2017-03-28 Thread lonign via Clojure
Hi Gunnar, Yes, I use this trick to get tests to run without starting up an application. That is a run-time issue. The problem I'm having is a compile-time issue. That is, errors are thrown when the compiler hits a gen-class or proxy used to try to extend (some) JavaFX classes. -- You receiv

Re: Compiling gen-class runs static initializers: workarounds, solutions?

2017-03-27 Thread lonign via Clojure
Hi Colin, I had read through this, but I'm using 1.8 and the problem still exists for me. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated -

Re: Compiling gen-class runs static initializers: workarounds, solutions?

2017-03-27 Thread lonign via Clojure
Did not see this. Will investigate and see if it helps. BTW, noticed in one of your comments on http://dev.clojure.org/jira/browse/CLJ-1315 that you directly

Re: Compiling gen-class runs static initializers: workarounds, solutions?

2017-03-27 Thread lonign via Clojure
Hi Gregg, I've have tried them, but have not been able to get anything that will compile, let alone run. On Sunday, March 26, 2017 at 5:15:52 PM UTC-4, Gregg Reynolds wrote: > > > > On Jan 2, 2015 12:36 PM, "David James" > > wrote: > > I have a problem when compiling while using gen-class with

Re: Compiling gen-class runs static initializers: workarounds, solutions?

2017-03-26 Thread lonign via Clojure
Hi David, It's been a long time, but have you found a solution to this problem? I came across a StackOverflow question about a similar problem: Clojure can't import JavaFX classes with static initializers