Skip to content

8380223: Refactor test/jdk/sun/util/resources TestNG tests to JUnit - #752

Open
rm-gh-8 wants to merge 1 commit into
openjdk:masterfrom
rm-gh-8:JDK-8380223-V25
Open

8380223: Refactor test/jdk/sun/util/resources TestNG tests to JUnit#752
rm-gh-8 wants to merge 1 commit into
openjdk:masterfrom
rm-gh-8:JDK-8380223-V25

Conversation

@rm-gh-8

@rm-gh-8 rm-gh-8 commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Backporting JDK-8380223: Refactor test/jdk/sun/util/resources TestNG tests to JUnit.

This PR migrates CLDR and time zone tests from TestNG to JUnit.

This PR is not clean because it skips JDK-8354548 and JDK-8260555 for Bug8139107.java, which introduce a large dependency graph and only introduces minor changes to the test (timeout and additional try/catch enclosure).

This is a prerequisite for JDK-8381379, which is for parity with Oracle JDK.

Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:

make test TEST=test/jdk/sun/util/resources

Results:

windows-x64-specific-test.log
macos-aarch64-specific-test.log
linux-x64-specific-test.log
linux-aarch64-specific-test.log



Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8380223 needs maintainer approval

Issue

  • JDK-8380223: Refactor test/jdk/sun/util/resources TestNG tests to JUnit (Sub-task - P4)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk25u-dev.git pull/752/head:pull/752
$ git checkout pull/752

Update a local copy of the PR:
$ git checkout pull/752
$ git pull https://git.openjdk.org/jdk25u-dev.git pull/752/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 752

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk25u-dev/pull/752.diff

Using Webrev

Link to Webrev Comment

@rm-gh-8
rm-gh-8 marked this pull request as ready for review August 25, 2026 13:02
@bridgekeeper

bridgekeeper Bot commented Aug 25, 2026

Copy link
Copy Markdown

👋 Welcome back rmesde! 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

openjdk Bot commented Aug 25, 2026

Copy link
Copy Markdown

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk openjdk Bot changed the title Backport 9ea893d87749fd87a3d1947e6d71c5899c6380bb 8380223: Refactor test/jdk/sun/util/resources TestNG tests to JUnit Aug 25, 2026
@openjdk

openjdk Bot commented Aug 25, 2026

Copy link
Copy Markdown

This backport pull request has now been updated with issue from the original commit.

@openjdk openjdk Bot added backport Port of a pull request already in a different code base rfr Pull request is ready for review labels Aug 25, 2026
@mlbridge

mlbridge Bot commented Aug 25, 2026

Copy link
Copy Markdown

Webrevs

@jerboaa

jerboaa commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

This is a duplicate of #756

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Port of a pull request already in a different code base rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

2 participants