hg: openjfx/8/graphics/rt: Removed usages of Toolkit.getLogger and replaced with PlatformLogger.getLogger. The problem is that calling into Toolkit means the toolkit has to be initialized, which also attempts to initialize glass and a prism pipeline. Running something simple like Css2Bin ends up initializing all of Prism and Quantum! Also bad for unit tests. #shiver

hang.vo at oracle.com hang.vo at oracle.com
Thu Apr 18 01:33:20 PDT 2013


Changeset: 3e86c6ad09e2
Author:    rbair
Date:      2013-04-18 01:26 -0700
URL:       http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/3e86c6ad09e2

Removed usages of Toolkit.getLogger and replaced with PlatformLogger.getLogger. The problem is that calling into Toolkit means the toolkit has to be initialized, which also attempts to initialize glass and a prism pipeline. Running something simple like Css2Bin ends up initializing all of Prism and Quantum! Also bad for unit tests. #shiver

! javafx-concurrent/src/javafx/concurrent/Service.java
! javafx-ui-common/src/com/sun/javafx/Logging.java
! javafx-ui-common/src/com/sun/javafx/tk/Toolkit.java



More information about the openjfx-dev mailing list