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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • tbd
    • jfx11, jfx13
    • javafx
    • web
    • x86_64
    • 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

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: