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

Renjith Kannath Pariyangad duke at openjdk.org
Wed Oct 4 05:37:10 UTC 2023


On Fri, 15 Sep 2023 18:36:18 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> 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.

@aivanov-jdk,  Thank you for your review and suggestion I have added a manual test case for evaluation.

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

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


More information about the client-libs-dev mailing list