Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8231869

Class not found Exception for com.sun.webkit.MainThread with OSGI

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: openjfx11, openjfx13
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:
    • Subcomponent:
      web
    • CPU:
      x86_64
    • OS:
      windows_10

      Description

      A DESCRIPTION OF THE PROBLEM :
      If you use an OSGI-environment and load a base 64 encoded picture in the WebView the jvm dies with a class not found exception for com.sun.webkit.MainThread. In an OSGI-environment the default classloader does not find the MainThread class, it could only be found by the bundle classloader.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Use WebView to load google.com in an OSGI-environment and search anything.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Application stays alive and shows the results.
      ACTUAL -
      The jvm dies.

      ---------- BEGIN SOURCE ----------
      https://github.com/StegmannSystems/rcp.demo
      ---------- END SOURCE ----------

      FREQUENCY : always


        Attachments

          Activity

            People

            • Assignee:
              ghb Guru Hb
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: