JDK-6557086 : Attempt to dispose jpeg reader form another thread may cause crash
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.imageio
  • Affected Version: 1.4.2,7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,linux
  • CPU: generic
  • Submitted: 2007-05-14
  • Updated: 2011-03-07
  • Resolved: 2011-03-07
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 Other JDK 6 JDK 7
1.4.2_26-revFixed 1.4.2_27Fixed 5.0u26-revFixed 5.0u27Fixed 6u20-revFixed 7 b14Fixed
Related Reports
Relates :  
Relates :  
Description
Invocation of dispose() method form another thread may cause crash in jpeg library
if reading is in progress. Same for jpeg writer: if writing operation is in progress,
then attempt to dispose writer instance form another thread may cause crash in jpeg
library.

Comments
EVALUATION Public method dispose() of jpeg image reader and jpeg image writer should be protected by thread locks to prevent concurrent change of reader/writer state.
14-05-2007