JDK-4805170 : Java webcams does not work on JRE1.4+
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 1.4.0
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-01-18
  • Updated: 2003-07-03
  • Resolved: 2003-02-01
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.
Other Other Other
1.4.1_04 04Fixed 1.4.1_05Fixed 1.4.2Fixed
Description
The java webcam applet relies on Image.flush() method to update the images and this feature is broken in 1.4 and higer releases

In order to reproduce the problem, visit any of the URLs and notice that the images are not updated even after the specified time in the HTML page
http://www.oceancitycam.com
http://www.bethanycam.com
http://www.westland.net/piercam
http://www.camvista.com/england/london/bigben.php3
....

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.4.1_04 1.4.1_05 mantis-beta tiger FIXED IN: 1.4.1_04 1.4.1_05 mantis-beta tiger INTEGRATED IN: 1.4.1_04 1.4.1_05 mantis-b16 mantis-beta tiger tiger-b03
14-06-2004

EVALUATION As part of MSVM compatibility bug, the logic in Applet.getImage() was changed to check the image in archives before getting it from the codebase. Even when the resource is downloaded from the codebase, we created the Image object using the inpustream returned by getResourceAsStream(). The fix is to check for the image only in the archives. If the image is not present in the archives, create the Image object using the URL ###@###.### 2003-01-17 The fix for this bug is needed for fixing 4820537 and 4880782. However, in 1.3.1_09, the fix doesn't really fix the Java webcam issue as reported in this bug. So I'm removing the 1.3.1_09 from the "Commit to fix..." field. ###@###.### 2003-06-25
25-06-2003