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.