modules/graphics/src/test/java/test/com/sun/javafx/pgstub/StubToolkit.java
Print this page
*** 37,46 ****
--- 37,47 ----
import com.sun.javafx.geom.transform.BaseTransform;
import com.sun.javafx.menu.MenuBase;
import com.sun.javafx.perf.PerformanceTracker;
import com.sun.javafx.runtime.async.AsyncOperation;
import com.sun.javafx.runtime.async.AsyncOperationListener;
+ import com.sun.javafx.scene.SceneHelper;
import com.sun.javafx.scene.text.TextLayoutFactory;
import com.sun.javafx.tk.*;
import com.sun.prism.BasicStroke;
import com.sun.scenario.DelayedRunnable;
import com.sun.scenario.animation.AbstractMasterTimer;
*** 102,112 ****
PlatformImpl.startup(() -> {});
} catch (Exception ex) {}
// allow tests to access PG scenegraph
// so that they can run with assertion enabled
! javafx.scene.Scene.impl_setAllowPGAccess(true);
}
private boolean pulseRequested;
/*
* overrides of Toolkit's abstract functions
--- 103,113 ----
PlatformImpl.startup(() -> {});
} catch (Exception ex) {}
// allow tests to access PG scenegraph
// so that they can run with assertion enabled
! SceneHelper.setAllowPGAccess(true);
}
private boolean pulseRequested;
/*
* overrides of Toolkit's abstract functions