-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
jfx18
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
MacOs 10.13.6 (High Sierra)
jdk-18+36 (build from adoptium.net)
openjfx-18
A DESCRIPTION OF THE PROBLEM :
App crash every time when code try to create WebView component.
I see this problem on my Mac only on JDK17 and 18. In JDK16 everything works good.
My last debug point before crash is:
`com.sun.webkit.WebPage` when invoking native method: `pPage = twkCreatePage(editable);`
REGRESSION : Last worked in version 16
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Just create WebView component - it crashes in default constructor.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Application do not crash, and WebView should work correctly.
ACTUAL -
Application crash, and print output to console:
```
Ran out of executable memory while allocating 160 bytes.
```
---------- BEGIN SOURCE ----------
package my.test;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;
import javafx.scene.web.WebView;
import javafx.stage.Stage;
public class WebView2 extends Application {
public static void main(String[] args) {
Application.launch(args);
}
@Override
public void start(Stage primaryStage) throws Exception {
WebView webView = new WebView();
BorderPane layout = new BorderPane();
layout.setCenter(webView);
Scene s = new Scene(layout);
primaryStage.setScene(s);
primaryStage.show();
}
}
---------- END SOURCE ----------
FREQUENCY : always
MacOs 10.13.6 (High Sierra)
jdk-18+36 (build from adoptium.net)
openjfx-18
A DESCRIPTION OF THE PROBLEM :
App crash every time when code try to create WebView component.
I see this problem on my Mac only on JDK17 and 18. In JDK16 everything works good.
My last debug point before crash is:
`com.sun.webkit.WebPage` when invoking native method: `pPage = twkCreatePage(editable);`
REGRESSION : Last worked in version 16
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Just create WebView component - it crashes in default constructor.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Application do not crash, and WebView should work correctly.
ACTUAL -
Application crash, and print output to console:
```
Ran out of executable memory while allocating 160 bytes.
```
---------- BEGIN SOURCE ----------
package my.test;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;
import javafx.scene.web.WebView;
import javafx.stage.Stage;
public class WebView2 extends Application {
public static void main(String[] args) {
Application.launch(args);
}
@Override
public void start(Stage primaryStage) throws Exception {
WebView webView = new WebView();
BorderPane layout = new BorderPane();
layout.setCenter(webView);
Scene s = new Scene(layout);
primaryStage.setScene(s);
primaryStage.show();
}
}
---------- END SOURCE ----------
FREQUENCY : always
- relates to
-
JDK-8305197 [macos] WebView crashes on macOS 10.13 High Sierra
-
- Closed
-