8242505: Some WebKit tests might fail because Microsoft libraries are not loaded #194
Conversation
@guruhb can you review this? |
|
Worth noting is that it is possible for this to fail even with the VS2017 compiler on some systems, but I haven't seen it myself (I've seen similar enough failures to know that it's possible). |
Looks good to me |
@kevinrushforth This change now passes all automated pre-integration checks. When the change also fulfills all project specific requirements, type
Since the source branch of this PR was last updated there have been 10 commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid automatic rebasing, please merge
|
/integrate |
@kevinrushforth The following commits have been pushed to master since your change was applied:
Your commit was automatically rebased without conflicts. Pushed as commit e0ffca3. |
This PR will allow javafx.web unit tests to run to completion and pass on Windows with Visual Studio 2019.
Two of the WebKit tests load the native WebKit library without initializing the JavaFX runtime. This will lead to test failures and will hang the test run if those tests are run before the other tests, and if the system doesn't have all the needed runtime libraries.
The simple fix is to call the Toolkit method to load those libraries. This is only needed for unit tests that don't already initialize the JavaFX runtime (e.g., by calling
Platform::startup
orApplication::launch
) and call internal methods that execute native code as part of the test.Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jfx pull/194/head:pull/194
$ git checkout pull/194