Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8326591: New test JmodExcludedFiles.java fails on Windows when --with-external-symbols-in-bundles=public is used #2679

Closed
wants to merge 4 commits into from

Conversation

SoniaZaldana
Copy link
Member

@SoniaZaldana SoniaZaldana commented Apr 23, 2024

Hi all,

This PR contains a backport of 43c6f0b5880899b797fab2f851bd35be1c342439.

Patch is not clean. Test won't build in 11 because it can't find import jdk.internal.util.OperatingSystem.

This class was introduced in 21 as part of JDK-8303485.

I've worked around that by removing the dependency to that utility function and checking the operating system with test/lib/jdk/test/lib/Platform.java.

Testing:

  • Modified test case passes

Thanks!


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-8326591 needs maintainer approval

Issue

  • JDK-8326591: New test JmodExcludedFiles.java fails on Windows when --with-external-symbols-in-bundles=public is used (Bug - P4 - Approved)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 2679

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

Using diff file

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

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Apr 23, 2024

👋 Welcome back szaldana! A progress list of the required criteria for merging this PR into pr/2609 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 Apr 23, 2024

@SoniaZaldana This change now passes all automated pre-integration checks.

After integration, the commit message for the final commit will be:

8326591: New test JmodExcludedFiles.java fails on Windows when --with-external-symbols-in-bundles=public is used

Reviewed-by: mdoerr

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

  • 1d6965f: 8267796: vmTestbase/nsk/jvmti/scenarios/hotswap/HS201/hs201t002/TestDescription.java fails with NoClassDefFoundError
  • 2a804f5: 8297082: Remove sun/tools/jhsdb/BasicLauncherTest.java from problem list
  • ece9b2c: 8326521: JFR: CompilerPhase event test fails on windows 32 bit
  • 2ff4d4e: 8318322: Update IANA Language Subtag Registry to Version 2023-10-16
  • 59224f7: 8299023: TestPLABResize.java and TestPLABPromotion.java are failing intermittently
  • 42f7042: 8326201: [S390] Need to bailout cleanly if creation of stubs fails when code cache is out of space
  • 270f3cf: 8321925: sun/security/mscapi/KeytoolChangeAlias.java fails with "Alias <246810> does not exist"
  • 4714685: 8328825: Google CAInterop test failures
  • 6d3a41f: 8316142: Enable parallelism in vmTestbase/nsk/monitoring/stress/lowmem tests
  • 4b67c4e: 8042380: Test javax/swing/JFileChooser/4524490/bug4524490.java fails with InvocationTargetException
  • ... and 11 more: https://git.openjdk.org/jdk11u-dev/compare/137a8b9dcfaad4a96dfd22f57c759dfc4ea71f05...master

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.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@TheRealMDoerr) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot changed the title Backport 43c6f0b5880899b797fab2f851bd35be1c342439 8326591: New test JmodExcludedFiles.java fails on Windows when --with-external-symbols-in-bundles=public is used Apr 23, 2024
@openjdk
Copy link

openjdk bot commented Apr 23, 2024

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

@openjdk openjdk bot added the backport label Apr 23, 2024
@SoniaZaldana SoniaZaldana marked this pull request as ready for review April 23, 2024 14:34
@openjdk openjdk bot added the rfr Pull request is ready for review label Apr 23, 2024
@mlbridge
Copy link

mlbridge bot commented Apr 23, 2024

Webrevs

@openjdk-notifier openjdk-notifier bot changed the base branch from pr/2609 to master April 28, 2024 20:15
@openjdk-notifier
Copy link

The parent pull request that this pull request depends on has now been integrated and the target branch of this pull request has been updated. This means that changes from the dependent pull request can start to show up as belonging to this pull request, which may be confusing for reviewers. To remedy this situation, simply merge the latest changes from the new target branch into this pull request by running commands similar to these in the local repository for your personal fork:

git checkout my-backport-8326591
git fetch https://git.openjdk.org/jdk11u-dev.git master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push

@amosshi
Copy link
Contributor

amosshi commented May 3, 2024

Testing Machine: SAP nightlies passed on 2024-05-02

  • Automated jtreg test: jtreg_jdk_tier1
  • jdk/modules/etc/JmodExcludedFiles.java: SUCCESSFUL GitHub 📊⏲ - [221 msec]

Copy link
Contributor

@TheRealMDoerr TheRealMDoerr 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
Copy link

openjdk bot commented May 13, 2024

⚠️ @SoniaZaldana This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

@openjdk openjdk bot added approval ready Pull request is ready to be integrated and removed approval labels May 13, 2024
@TheRealMDoerr
Copy link
Contributor

This one is ready for integration.

@SoniaZaldana
Copy link
Member Author

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label May 21, 2024
@openjdk
Copy link

openjdk bot commented May 21, 2024

@SoniaZaldana
Your change (at version 478026a) is now ready to be sponsored by a Committer.

@TheRealMDoerr
Copy link
Contributor

/sponsor

@openjdk
Copy link

openjdk bot commented May 21, 2024

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

  • 1d6965f: 8267796: vmTestbase/nsk/jvmti/scenarios/hotswap/HS201/hs201t002/TestDescription.java fails with NoClassDefFoundError
  • 2a804f5: 8297082: Remove sun/tools/jhsdb/BasicLauncherTest.java from problem list
  • ece9b2c: 8326521: JFR: CompilerPhase event test fails on windows 32 bit
  • 2ff4d4e: 8318322: Update IANA Language Subtag Registry to Version 2023-10-16
  • 59224f7: 8299023: TestPLABResize.java and TestPLABPromotion.java are failing intermittently
  • 42f7042: 8326201: [S390] Need to bailout cleanly if creation of stubs fails when code cache is out of space
  • 270f3cf: 8321925: sun/security/mscapi/KeytoolChangeAlias.java fails with "Alias <246810> does not exist"
  • 4714685: 8328825: Google CAInterop test failures
  • 6d3a41f: 8316142: Enable parallelism in vmTestbase/nsk/monitoring/stress/lowmem tests
  • 4b67c4e: 8042380: Test javax/swing/JFileChooser/4524490/bug4524490.java fails with InvocationTargetException
  • ... and 11 more: https://git.openjdk.org/jdk11u-dev/compare/137a8b9dcfaad4a96dfd22f57c759dfc4ea71f05...master

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label May 21, 2024
@openjdk openjdk bot closed this May 21, 2024
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels May 21, 2024
@openjdk openjdk bot removed the sponsor Pull request is ready to be sponsored label May 21, 2024
@openjdk
Copy link

openjdk bot commented May 21, 2024

@TheRealMDoerr @SoniaZaldana Pushed as commit b8ee2aa.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

3 participants