ADDITIONAL SYSTEM INFORMATION :
Works in JRE 1.8 341, breaks in JRE in 351, possibly related to https://bugs.openjdk.org/browse/JDK-8285881
A DESCRIPTION OF THE PROBLEM :
We are getting JavaScript issues when running a SAPUI5 Web application in a JavaFX WebView on JRE 1.8 351 and later.
REGRESSION : Last worked in version 8u361
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Open a simple UI5 application in a JavaFX WebView. An example application is deployed to <link>
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Page loads successfully
ACTUAL -
Blank screen
---------- BEGIN SOURCE ----------
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.VBox;
import javafx.scene.web.WebView;
import javafx.stage.Stage;
public class Main extends Application {
public static void main(String[] args) {
launch(args);
}
public void start(Stage primaryStage) {
primaryStage.setTitle("JavaFX WebView Example");
WebView webView = new WebView();
webView.getEngine().load("<Link>");
VBox vBox = new VBox(webView);
Scene scene = new Scene(vBox, 960, 600);
primaryStage.setScene(scene);
primaryStage.show();
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Revert to an earlier JRE release, however customers need to be running latest release due to security concerns.
FREQUENCY : always