RFR: 8301846: Invalid TargetDataLine after screen lock when using JFileChooser or COM library [v6]

Alexey Ivanov aivanov at openjdk.org
Fri Sep 15 18:38:44 UTC 2023


On Tue, 1 Aug 2023 04:16:30 GMT, Renjith Kannath Pariyangad <duke at openjdk.org> wrote:

>> Renjith Kannath Pariyangad has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Added CoInitialize status check
>
> Did further investigation on JDK-7116070 (name truncation issue) and found its [MS structure](https://learn.microsoft.com/en-us/windows-hardware/drivers/audio/extended-capabilities-from-a-wdm-audio-driver) limitation, this structure can accommodate max 31 char only for _szPname_ . 
> 
> Workflow :
> **PLATFORM_API_WinOS_Ports.c** loading the description with the help of _mixerGetDevCapsW_ function and result will be stored into the [MIXERCAPSW](https://learn.microsoft.com/en-us/windows/win32/api/mmeapi/ns-mmeapi-mixercapsw) structure and in this max size for _szPname_ is 31 char. 
> In my analysis this is a limitation and we can't do anything more,  let me know if you are aware any alternative solution for this.

@Renjithkannath Could you please add a manual test for this issue? You can use the sample attached to the JBS issue as the base for the test.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14898#issuecomment-1721689612


More information about the client-libs-dev mailing list