Skip to content

Conversation

@Maran23
Copy link
Member

@Maran23 Maran23 commented May 10, 2025

This PR bumps the JUnit version to 5.12.2.
Also removed 2 now unused variables since I phased out the JUnit Vintage Engine + Hamcrest.

Changelog: https://junit.org/junit5/docs/current/release-notes/index.html#release-notes-5.12.2
The mentioned deprecations do not affect us.

Interesting new features:

  • Thread dumps on test timeouts
  • Parameterized test validation improvements
  • JRE-based conditions such as @EnabledOnJre and @DisabledForJreRange now support arbitrary Java versions

Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed (2 reviews required, with at least 1 Reviewer, 1 Author)

Issue

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jfx.git pull/1803/head:pull/1803
$ git checkout pull/1803

Update a local copy of the PR:
$ git checkout pull/1803
$ git pull https://git.openjdk.org/jfx.git pull/1803/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 1803

View PR using the GUI difftool:
$ git pr show -t 1803

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/1803.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented May 10, 2025

👋 Welcome back mhanl! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented May 10, 2025

@Maran23 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:

8356690: Update JUnit to 5.12.2

Reviewed-by: kcr, arapte

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 7 new commits pushed to the master branch:

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 master branch, type /integrate in a new comment.

@openjdk openjdk bot added the rfr Ready for review label May 10, 2025
@mlbridge
Copy link

mlbridge bot commented May 10, 2025

Webrevs

@kevinrushforth kevinrushforth self-requested a review May 12, 2025 13:23
@kevinrushforth
Copy link
Member

I'll review this. I need to upload the new binaries to our build server and do a CI test run.

@kevinrushforth
Copy link
Member

/reviewers 2

@openjdk
Copy link

openjdk bot commented May 12, 2025

@kevinrushforth
The total number of required reviews for this PR (including the jcheck configuration and the last /reviewers command) is now set to 2 (with at least 1 Reviewer, 1 Author).

Copy link
Member

@kevinrushforth kevinrushforth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good. A local build works. I fired off a test build on our CI server and will approve once it completes with no errors.

Copy link
Member

@kevinrushforth kevinrushforth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good.

@kevinrushforth
Copy link
Member

@arapte can you be the second reviewer?

Copy link
Member

@arapte arapte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@openjdk openjdk bot added the ready Ready to be integrated label May 20, 2025
@Maran23
Copy link
Member Author

Maran23 commented May 20, 2025

/integrate

@openjdk
Copy link

openjdk bot commented May 20, 2025

Going to push as commit a14c2b3.
Since your change was applied there have been 8 commits pushed to the master branch:

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label May 20, 2025
@openjdk openjdk bot closed this May 20, 2025
@openjdk openjdk bot removed ready Ready to be integrated rfr Ready for review labels May 20, 2025
@openjdk
Copy link

openjdk bot commented May 20, 2025

@Maran23 Pushed as commit a14c2b3.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

@Maran23 Maran23 deleted the junit5-upgrade-5-12-2 branch October 2, 2025 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integrated Pull request has been integrated

Development

Successfully merging this pull request may close these issues.

3 participants