Re: Aw: Re: Re: "Toolkit already initialized" error with OpenJDK 11

2018-10-05 Thread Kevin Rushforth
Kevin Rushforth" An: "marcel Austenfeld" Cc: openjfx-dev@openjdk.java.net Betreff: Re: Aw: Re: "Toolkit already initialized" error with OpenJDK 11 I think I see what caused this. In FX 8 we called FXCanvas::initFx from the constructor of every FXCanvas. It then cal

Re: Aw: Re: Re: "Toolkit already initialized" error with OpenJDK 11

2018-10-05 Thread Kevin Rushforth
et *Betreff:* Re: Aw: Re: "Toolkit already initialized" error with OpenJDK 11 I think I see what caused this. In FX 8 we called FXCanvas::initFx from the constructor of every FXCanvas. It then called an internal startup method, PlatformImpl::startup, that permits calling it when the

Aw: Re: Re: "Toolkit already initialized" error with OpenJDK 11

2018-10-05 Thread marcel Austenfeld
pse plugin (which was definitely > the case with Java 8!). > > Maybee this has something to do with the new module system of Java >=9? > > > > > Gesendet: Mittwoch, 26. September 2018 um 14:09 Uhr > Von: "Kevin Rushforth" > An: "marcel Austenfeld&quo

Aw: Re: Re: Re: "Toolkit already initialized" error with OpenJDK 11

2018-10-05 Thread marcel Austenfeld
.home$/lib/javafx-swt.jar, This worked for years and even now (with the exception of the classloader bug analyzed by Kevin)   Gesendet: Freitag, 05. Oktober 2018 um 09:27 Uhr Von: "Tom Schindl" An: open Betreff: Re: Aw: Re: Re: "Toolkit already initialized" error with Open

Re: Aw: Re: Re: "Toolkit already initialized" error with OpenJDK 11

2018-10-05 Thread Tom Schindl
Gesendet:* Donnerstag, 04. Oktober 2018 um 16:44 Uhr > *Von:* "Tom Schindl" > *An:* openjfx-dev@openjdk.java.net > *Betreff:* Re: Aw: Re: "Toolkit already initialized" error with OpenJDK 11 > Hi, > > Just to make sure I understand. Do you say that other OSGi-

Aw: Re: Re: "Toolkit already initialized" error with OpenJDK 11

2018-10-05 Thread marcel Austenfeld
I created a bug report on https://bugs.java.com/   Bug ID is: 9057517       Gesendet: Donnerstag, 04. Oktober 2018 um 16:13 Uhr Von: "Kevin Rushforth" An: "marcel Austenfeld" Cc: openjfx-dev@openjdk.java.net Betreff: Re: Aw: Re: "Toolkit already initialized" error

Aw: Re: Re: "Toolkit already initialized" error with OpenJDK 11

2018-10-05 Thread marcel Austenfeld

Aw: Re: Re: "Toolkit already initialized" error with OpenJDK 11

2018-10-04 Thread marcel Austenfeld

Aw: Re: Re: "Toolkit already initialized" error with OpenJDK 11

2018-10-04 Thread marcel Austenfeld
Kevin Rushforth" An: "marcel Austenfeld" Cc: openjfx-dev@openjdk.java.net Betreff: Re: Aw: Re: "Toolkit already initialized" error with OpenJDK 11 I think I see what caused this. In FX 8 we called FXCanvas::initFx from the constructor of every FXCanvas. It then cal

Re: Aw: Re: "Toolkit already initialized" error with OpenJDK 11

2018-10-04 Thread Tom Schindl
;   > Maybee this has something to do with the new module system of Java >=9? >   >   >   > > Gesendet: Mittwoch, 26. September 2018 um 14:09 Uhr > Von: "Kevin Rushforth" > An: "marcel Austenfeld" , openjfx-dev@openjdk.java.net > Betreff: Re: &qu

Re: Aw: Re: "Toolkit already initialized" error with OpenJDK 11

2018-10-04 Thread Tom Schindl
nitely the case with Java 8!). >>   Maybee this has something to do with the new module system of Java >=9? >>       >> Gesendet: Mittwoch, 26. September 2018 um 14:09 Uhr >> Von: "Kevin Rushforth" >> An: "marcel Austenfeld" , openjfx-dev@ope

Re: Aw: Re: "Toolkit already initialized" error with OpenJDK 11

2018-10-04 Thread Kevin Rushforth
g to do with the new module system of Java >=9? Gesendet: Mittwoch, 26. September 2018 um 14:09 Uhr Von: "Kevin Rushforth" An: "marcel Austenfeld" , openjfx-dev@openjdk.java.net Betreff: Re: "Toolkit already initialized" error with OpenJDK 11 I'm&#x

Aw: Re: "Toolkit already initialized" error with OpenJDK 11

2018-10-04 Thread marcel Austenfeld
ugin (which was definitely the case with Java 8!).   Maybee this has something to do with the new module system of Java >=9?       Gesendet: Mittwoch, 26. September 2018 um 14:09 Uhr Von: "Kevin Rushforth" An: "marcel Austenfeld" , openjfx-dev@openjdk.java.net Betreff: R

"Toolkit already initialized" error with OpenJDK 11

2018-09-26 Thread marcel Austenfeld
Hello Kevin, I already use Platform.setImplicitExit(false) at startup so this can't be the problem. All SWT FXCanvas are not closed (at least at startup). Could it be that the initialisation of the SWT FXCanvas is different and could cause the problem. At the moment I use as java arguments:

Re: "Toolkit already initialized" error with OpenJDK 11

2018-09-26 Thread Kevin Rushforth
I'm' not aware of anything that intentionally changed between FX in JDK 8 and FX 11, but my guess is that the FX runtime is being shutdown after your first FXCanvas exits. Try making the following call (only needed one time) before creating your first FXCanvas:     Platform.setImplicitExit(fal

"Toolkit already initialized" error with OpenJDK 11

2018-09-26 Thread marcel Austenfeld
First of all congratulation to the new release and thank you for the hard work on JavaFX.     I have a problem with JavaFX which in my case is embedded in a Rich Client Platform of Eclipse.   I integrated several SWT FXCanvas (some with SwingNode panels as a SWT_AWT replacement) into my app.   T

"Toolkit already initialized" error with OpenJDK 11

2018-09-26 Thread marcel Austenfeld