8310049: Refactor Charset tests to use JUnit#2296
8310049: Refactor Charset tests to use JUnit#2296GoeLin wants to merge 1 commit intoopenjdk:masterfrom
Conversation
|
👋 Welcome back goetz! A progress list of the required criteria for merging this PR into |
|
@GoeLin This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 8 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
|
This backport pull request has now been updated with issue from the original commit. |
|
|
| public void illegalCharsetsTest(String name) { | ||
| assertThrows(IllegalCharsetNameException.class, | ||
| () -> Charset.forName(name)); | ||
| assertThrows(IllegalCharsetNameException.class, |
There was a problem hiding this comment.
In illegalCharsetsTest and emptyCharsetsTest, please consider changing the second instance of Charset.forName to Charset.isSupported which was a faulty conversion made in the original change. Otherwise if not in this PR, please consider back-porting JDK-8369078 as well, thank you.
There was a problem hiding this comment.
Thanks for pointing me to this. I will backport 8369078, too.
|
GHA failures: |
|
/integrate |
|
Going to push as commit 9a19496.
Your commit was automatically rebased without conflicts. |
I backport this for parity with 21.0.10-oracle
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk21u-dev.git pull/2296/head:pull/2296$ git checkout pull/2296Update a local copy of the PR:
$ git checkout pull/2296$ git pull https://git.openjdk.org/jdk21u-dev.git pull/2296/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2296View PR using the GUI difftool:
$ git pr show -t 2296Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk21u-dev/pull/2296.diff
Using Webrev
Link to Webrev Comment