Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8242505: Some WebKit tests might fail because Microsoft libraries are not loaded #194

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -25,6 +25,8 @@

package test.com.sun.webkit;

import com.sun.javafx.PlatformUtil;
import com.sun.javafx.tk.Toolkit;
import com.sun.webkit.SharedBuffer;
import com.sun.webkit.SharedBufferShim;
import com.sun.webkit.WebPage;
Expand All @@ -50,6 +52,10 @@ public class SharedBufferTest {

@BeforeClass
public static void beforeClass() throws ClassNotFoundException {
if (PlatformUtil.isWindows()) {
// Must load Microsoft libs before loading jfxwebkit.dll
Toolkit.loadMSWindowsLibraries();
}
Class.forName(WebPage.class.getName());
}

Expand Down
Expand Up @@ -25,6 +25,8 @@

package test.com.sun.webkit;

import com.sun.javafx.PlatformUtil;
import com.sun.javafx.tk.Toolkit;
import com.sun.webkit.SharedBuffer;
import com.sun.webkit.SharedBufferShim;
import com.sun.webkit.SimpleSharedBufferInputStream;
Expand Down Expand Up @@ -52,6 +54,10 @@ public class SimpleSharedBufferInputStreamTest {

@BeforeClass
public static void beforeClass() throws ClassNotFoundException {
if (PlatformUtil.isWindows()) {
// Must load Microsoft libs before loading jfxwebkit.dll
Toolkit.loadMSWindowsLibraries();
}
Class.forName(WebPage.class.getName());
}

Expand Down