JDK-6491795 : COM should be initialized for Shell API calls in ShellFolder2.cpp
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6,6u1
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2006-11-09
  • Updated: 2014-05-14
  • 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.
JDK 6 JDK 7 Other
6u2Fixed 7 b55Fixed OpenJDK6Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
ShellFolder2.cpp uses Shell API without proper COM initialization. It leads some calls to fail and others to work incorrectly. According to MSDN COM should be initialized on a thread before using it on that thread.

Comments
EVALUATION When COM is handled properly, it also fixes the bugs listed in the "See Also" section.
14-03-2007

EVALUATION Calls to COM API should be done on a thread where COM is already initialized.
09-11-2006