> This change updates httpclient tests to use `${test.main.class}` in `@run`
> tags
> instead of explicitly referencing the test class name.
>
> This aligns with the newer jtreg and avoids issues when
> tests are copied and the class name is not properly updated.
>
> Only `@run` tags are modified. Other tags (e.g. `@build`) that may still
> contain explicit class references are intentionally left unchanged for now,
> but can be updated(removed) if desired.
>
> The number of changes is relatively large due to the mechanical nature
> of the refactoring. Thanks for taking a look.
Daisuke Yamazaki has updated the pull request with a new target base due to a
merge or a rebase. The pull request now contains three commits:
- Merge remote-tracking branch 'upstream/master' into
8372325-http-client-tests-cleanup
# Conflicts:
#
test/jdk/java/net/httpclient/HttpRequestBodyPublishers/FromPublisherTest.java
# test/jdk/java/net/httpclient/HttpRequestBodyPublishers/NoBodyTest.java
#
test/jdk/java/net/httpclient/HttpRequestBodyPublishers/OfByteArrayTest.java
#
test/jdk/java/net/httpclient/HttpRequestBodyPublishers/OfByteArraysTest.java
# test/jdk/java/net/httpclient/HttpRequestBodyPublishers/OfFileTest.java
#
test/jdk/java/net/httpclient/HttpRequestBodyPublishers/OfInputStreamTest.java
# test/jdk/java/net/httpclient/HttpRequestBodyPublishers/OfStringTest.java
- Update copyright year to 2026
- 8372325: Refactor tests under jdk/java/net/httpclient classes to use
${test.main.class}
-------------
Changes: https://git.openjdk.org/jdk/pull/30307/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30307&range=01
Stats: 571 lines in 312 files changed: 0 ins; 0 del; 571 mod
Patch: https://git.openjdk.org/jdk/pull/30307.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/30307/head:pull/30307
PR: https://git.openjdk.org/jdk/pull/30307