> 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.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/31741/files
- new: https://git.openjdk.org/jdk/pull/31741/files/806b396d..5b0befc8
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=31741&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=31741&range=01-02
Stats: 1620 lines in 113 files changed: 765 ins; 589 del; 266 mod
Patch: https://git.openjdk.org/jdk/pull/31741.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/31741/head:pull/31741
PR: https://git.openjdk.org/jdk/pull/31741