JDK-8177087 : Google Maps in JavaFX WebView shows garbled text on Mac OSX
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86
  • Submitted: 2017-03-17
  • Updated: 2017-03-19
  • Resolved: 2017-03-19
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
build 1.8.0_91-b14

ADDITIONAL OS VERSION INFORMATION :
Mac OSX appears to be the only OS affected.

Windows and Linux are OK

A DESCRIPTION OF THE PROBLEM :
The text on Google Maps when loaded in the JavaFx WebView on Mac OSX is garbled and unreadable.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Use the source code I have included and run on a Mac

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A scene with Google Maps in a WebView will be loaded, the text should be readable.
ACTUAL -
A scene with Google Maps in a WebView will be loaded the text on Mac OSX is garbled, on Windows and Linux it is fine.

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.web.WebView;
import javafx.stage.Stage;

public class WebViewTest extends Application {

    @Override
    public void start(Stage primaryStage) throws Exception {
        WebView webView = new WebView();

        Scene scene = new Scene(webView);
        primaryStage.setScene(scene);
        primaryStage.show();
        webView.getEngine().load("http://maps.google.com");
    }
 
    
    public static void main(String[] args) {
        launch(args);
    }
}
---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
No Known work arounds


Comments
Already fixed in JDK 9. Closing it as duplicate of JDK-8088205
19-03-2017