On Thu, 2 Apr 2026 11:46:37 GMT, Daisuke Yamazaki <[email protected]> wrote:
>> 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}
Seems misses test/jdk/java/net/httpclient/HttpVersionsTest.java
-------------
Changes requested by syan (Committer).
PR Review: https://git.openjdk.org/jdk/pull/30307#pullrequestreview-4050827562