JDK-6491795 : COM should be initialized for Shell API calls in ShellFolder2.cpp
  • Type: Bug
  • Status: Closed
  • Resolution: Fixed
  • Component: client-libs
  • Sub-Component: javax.swing
  • Priority: P2
  • Affected Version: 6,6u1
  • OS: windows_vista
  • CPU: x86
  • Submit Date: 2006-11-09
  • Updated Date: 2014-05-14
  • Resolved Date: 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 Availabitlity Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u2Resolved 7 b55Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
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.
2007-03-14

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