JDK-6576818 : Apparent LiveConnect changes break applets
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2007-07-03
  • Updated: 2011-12-23
  • Resolved: 2007-07-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u4Resolved 7Resolved
Related Reports
Duplicate :  
Description
The Iris demo from JavaOne (http://swinglabs.org/iris/) seems to be broken in the Firefox browser in JDK 7 and (I believe) 6u4. It seems that a LiveConnect-related fix has broken something in how this demonstration performs its browser/applet communication. Since it uses only very simple JavaScript/Java primitives, this breakage should be taken as an indication that something fairly fundamental is now broken in the LiveConnect implementation on Firefox. The same failure does not occur on IE, though the Iris application is currently affected by 6576792 on JDK 7.

To reproduce the problem, go to the Iris page and enter a user name like "kenneth russell", "jasper potts", or "romainguy". It will hang while loading the thumbnails for the user's photosets (as opposed to the thumbnails for the photos in a given photoset, which is the symptom of 6576792).

###@###.### indicates that this failure seems to be related to LiveConnect functionality.

Comments
EVALUATION Verified that fix for 6576792 indeed fix this problem. http://monaco.sfbay/detail.jsf?cr=6576792 Webrev: http://suttles.sfbay/rev/6576792 This fix by ###@###.### is target 7.0 b16. This CR will be closed as duplicate of 6576792.
17-07-2007

EVALUATION BTW, CR 6576792 and 6576818 are the same problem. It was the exception received that caused the JS-J call to org.jdesktop.iris.toolbox.tasks.LoadPhotosTask() to fail in 6576818, and the failure symptom is the same on both IE and FF. Traces when failed with 7.0 b14 on IE and FF are attached. Just take rt.jar from b08 and update it with java.util.concurrent.ThreadPoolExecutor*.class from b07's rt.jar and you will see that both problems go away. I put a copy of this hybrid rt.jar (rt.jar from b08 with java.util.concurrent.ThreadPoolExecutor*.class from b07) at http://javaweb.sfbay/~dp144265/miscs/rt.jar for your testing purpose. Besides, deploy 1st integration into 7.0 master did not happen until b09. I will leave 6576818 opened for a few more days for your investigation. But this CR should be made duplicate of 6576792 eventually.
12-07-2007

EVALUATION The synopsis for this CR is a bit misleading, because originally, we thought the problem is liveconnect related. However, after investigation, I believe that it is caused by the works in ThreadPoolExecutor in 7 b08 to replace the exception throwing thread and to terminate the idling threads when thread pool is reduced. Martin from classes_util_concurrent had been contacted to take a look at this regression. Note that, this is a regression since b08 on 7.0 release only. A copy of Iris applet source can be found at: /net/gromit.sfbay/export/home/kbr/JavaNet/iris
11-07-2007