[WebView] Java Logger settings corrupt webview

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8u40
    • Affects Version/s: 7u55, 8u5
    • Component/s: javafx
    • None
    • web

      When setting the java log level to FINE or higher, the webview display is corrupted.
      The testcase has been described in the JBS: https://bugs.openjdk.java.net/browse/JI-9006337

      The problem could also be reproducible when running WebLauncher with the
      -Djava.util.logging.config.file="logging.properties"
      and the logging.properties file in the working directory:

      handlers = java.util.logging.ConsoleHandler
      .level=ALL
      java.util.logging.ConsoleHandler.level = ALL

      The problematic code was found in the rt\modules\web\src\main\java\com\sun\javafx\webkit\prism\WCGraphicsPrismContext.java:280 (WCGraphicsPrismContext.setClip())
      where the clipping bounds are attempted to be drawn (my guess) if the log level is set to FINE or higher.
      Commenting this code resolves the problem.

            Assignee:
            Anton Nashatyrev (Inactive)
            Reporter:
            Anton Nashatyrev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: