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

Calls using new per-applet Packages keyword fail after page reload

    XMLWordPrintable

Details

    • b11
    • b21
    • generic
    • generic
    • Verified

    Description

      The attached test case from a customer indicates that the per-applet Packages keyword support is not working properly in some situations. With Firefox 3, open the Java Console and the Error Console, and navigate to the attached test case's example.html. Click the "Search" button. Note that "Got string: test" is printed to the Java Console. Reload the page. Click the "Search" button again. Note that this output is not printed to the Java Console, and an error ("Attempt to call a default method on object with no invokeDefault method") is being reported.

      The problem is that for some reason the context class loader of the LiveConnect worker thread is null in the Firefox reload case at the time we attempt to resolve the class's name. The same problem does not occur in IE, probably due to slightly different ordering of LiveConnect-related messages at the beginning of time.

      Attachments

        Issue Links

          Activity

            People

              kbr Kenneth Russell (Inactive)
              kbr Kenneth Russell (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: