JDK-6491795 : COM should be initialized for Shell API calls in ShellFolder2.cpp
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.
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.
When COM is handled properly, it also fixes the bugs listed in the "See Also" section.
Calls to COM API should be done on a thread where COM is already initialized.