On Wed, 1 Jul 2026 22:22:00 GMT, Ashay Rane <[email protected]> wrote:
>> On Windows/ARM64, "jdb -listconnectors" shows "dt_shmem" and not
>> "dt_socket", since both {Sun,Raw}CommandLineLauncher.java prefer
>> "dt_shmem" with a fallback to "dt_socket". This causes the following
>> tests in test/hotspot/jtreg/vmTestbase/nsk to fail:
>>
>> - jdb/options/listconnectors/listconnectors001/listconnectors001.java
>> - jdi/LaunchingConnector/launch/launch001/TestDescription.java
>> - jdi/LaunchingConnector/launch/launch003/TestDescription.java
>> -
>> jdi/LaunchingConnector/launchnosuspend/launchnosuspend001/TestDescription.java
>>
>> This patch fixes the problem by adding entires for "dt_socket" on
>> Windows/ARM64, similar to the exceptions for other platforms.
>>
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Ashay Rane has updated the pull request with a new target base due to a merge
> or a rebase. The incremental webrev excludes the unrelated changes brought in
> by the merge/rebase. The pull request contains three additional commits since
> the last revision:
>
> - Merge branch 'master' into JDK-8387625-jdb-dt_socket
> - Fix copyright year
> - Ignore "dt_socket" for Windows/ARM64
>
> On Windows/ARM64, "jdb -listconnectors" shows "dt_shmem" and not
> "dt_socket", since both {Sun,Raw}CommandLineLauncher.java prefer
> "dt_shmem" with a fallback to "dt_socket". This causes the following
> tests in test/hotspot/jtreg/vmTestbase/nsk to fail:
>
> - jdb/options/listconnectors/listconnectors001/listconnectors001.java
> - jdi/LaunchingConnector/launch/launch001/TestDescription.java
> - jdi/LaunchingConnector/launch/launch003/TestDescription.java
> -
> jdi/LaunchingConnector/launchnosuspend/launchnosuspend001/TestDescription.java
> - jdi/ListeningConnector/startListening/startlis001/TestDescription.java
>
> This patch fixes the problem by adding entires for "dt_socket" on
> Windows/ARM64, similar to the exceptions for other platforms.
@raneashay
Your change (at version 5b0befc8f9b9044e19f2cf797864f93b24375fc3) is now ready
to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/31741#issuecomment-4866921562