Skip to content

8222323: ChildAlwaysOnTopTest.java fails with "RuntimeException: Failed to unset alwaysOnTop" #378

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

Closed
wants to merge 2 commits into from

Conversation

kurashige23
Copy link
Member

@kurashige23 kurashige23 commented Sep 28, 2023

Hi,

This is a backport of JDK-8222323: ChildAlwaysOnTopTest.java fails with "RuntimeException: Failed to unset alwaysOnTop"

Original patch does not apply cleanly to JDK-8021961 applied code, because the fix uses "StringBuffer.isEmpty()" published in JDK15. I fixed the test so as not to use "StringBuffer.isEmpty()".

Testing: jdk_awt on RHEL7, GHA testing

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

Issue

  • JDK-8222323: ChildAlwaysOnTopTest.java fails with "RuntimeException: Failed to unset alwaysOnTop" (Bug - P4 - Approved)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 378

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

Using diff file

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

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Sep 28, 2023

👋 Welcome back kurashige23! A progress list of the required criteria for merging this PR into pr/377 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 changed the title Backport 837928ba7955dbfd4a9c966209c3469c0fb5e195 8222323: ChildAlwaysOnTopTest.java fails with "RuntimeException: Failed to unset alwaysOnTop" Sep 28, 2023
@openjdk
Copy link

openjdk bot commented Sep 28, 2023

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

@openjdk openjdk bot added backport rfr Pull request is ready for review labels Sep 28, 2023
@mlbridge
Copy link

mlbridge bot commented Sep 28, 2023

Webrevs

@bridgekeeper
Copy link

bridgekeeper bot commented Oct 26, 2023

@kurashige23 This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@bridgekeeper
Copy link

bridgekeeper bot commented Nov 23, 2023

@kurashige23 This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the /open pull request command.

@bridgekeeper bridgekeeper bot closed this Nov 23, 2023
@kurashige23
Copy link
Member Author

/open

@openjdk openjdk bot reopened this Nov 23, 2023
@openjdk
Copy link

openjdk bot commented Nov 23, 2023

@kurashige23 This pull request is now open

Copy link
Contributor

@jerboaa jerboaa left a comment

Choose a reason for hiding this comment

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

Seems OK.

@jerboaa
Copy link
Contributor

jerboaa commented Nov 27, 2023

Please ask for approval of the bug using the /approval SKARA command so that the dependency and this one can get approved together.

@kurashige23
Copy link
Member Author

/approval JDK-8021961 request Test-only backport, no risk.

@openjdk
Copy link

openjdk bot commented Nov 28, 2023

@kurashige23 This issue is not associated with this pull request.

@kurashige23
Copy link
Member Author

/approval 377 request Test-only backport, no risk.

@openjdk
Copy link

openjdk bot commented Nov 28, 2023

@kurashige23 This issue is not associated with this pull request.

@kurashige23
Copy link
Member Author

/approval request Test-only backport, no risk.

@openjdk
Copy link

openjdk bot commented Nov 28, 2023

@kurashige23
8222323: The approval request has been created successfully.

@openjdk openjdk bot added approval and removed approval labels Nov 28, 2023
@phohensee
Copy link
Member

This PR has been approved, please add /integrate.

@jerboaa
Copy link
Contributor

jerboaa commented Nov 28, 2023

This PR has been approved, please add /integrate.

This needs #377 first.

@openjdk-notifier openjdk-notifier bot changed the base branch from pr/377 to master November 29, 2023 13:57
@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 AlwaysOnTop_8222323
git fetch https://git.openjdk.org/jdk8u-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

@openjdk
Copy link

openjdk bot commented Nov 29, 2023

⚠️ @kurashige23 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
Copy link

openjdk bot commented Nov 29, 2023

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

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

8222323: ChildAlwaysOnTopTest.java fails with "RuntimeException: Failed to unset alwaysOnTop"

Reviewed-by: sgehwolf

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

  • 8cf7c96: 8021961: setAlwaysOnTop doesn't behave correctly in Linux/Solaris under certain scenarios
  • a226a47: 8312126: NullPointerException in CertStore.getCRLs after 8297955
  • 2f81fb4: 8251551: Use .md filename extension for README
  • b2655a7: 8297955: LDAP CertStore should use LdapName and not String for DNs
  • 3b9c787: 8208655: use JTreg skipped status in hotspot tests
  • 0464401: 8320713: Bump update version of OpenJDK: 8u412
  • b372b4b: 8312489: Increase jdk.jar.maxSignatureFileSize default which is too low for JARs such as WhiteSource/Mend unified agent jar
  • 10a653e: 8176509: Use pandoc for converting build readme to html
  • 0e7ebcb: 8317291: Missing null check for nmethod::is_native_method()
  • eace2d7: 8305329: [8u] Unify test libraries into single test library - step 1
  • ... and 22 more: https://git.openjdk.org/jdk8u-dev/compare/f4260a4deed5210fc56f08774e8ca50cf6f7cc8e...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 (@jerboaa) 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 added the ready Pull request is ready to be integrated label Nov 29, 2023
@phohensee
Copy link
Member

/sponsor

@openjdk
Copy link

openjdk bot commented Nov 29, 2023

@phohensee The change author (@kurashige23) must issue an integrate command before the integration can be sponsored.

@kurashige23
Copy link
Member Author

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Nov 29, 2023
@openjdk
Copy link

openjdk bot commented Nov 29, 2023

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

@phohensee
Copy link
Member

/sponsor

@openjdk
Copy link

openjdk bot commented Nov 29, 2023

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

  • 8cf7c96: 8021961: setAlwaysOnTop doesn't behave correctly in Linux/Solaris under certain scenarios
  • a226a47: 8312126: NullPointerException in CertStore.getCRLs after 8297955
  • 2f81fb4: 8251551: Use .md filename extension for README
  • b2655a7: 8297955: LDAP CertStore should use LdapName and not String for DNs
  • 3b9c787: 8208655: use JTreg skipped status in hotspot tests
  • 0464401: 8320713: Bump update version of OpenJDK: 8u412
  • b372b4b: 8312489: Increase jdk.jar.maxSignatureFileSize default which is too low for JARs such as WhiteSource/Mend unified agent jar
  • 10a653e: 8176509: Use pandoc for converting build readme to html
  • 0e7ebcb: 8317291: Missing null check for nmethod::is_native_method()
  • eace2d7: 8305329: [8u] Unify test libraries into single test library - step 1
  • ... and 22 more: https://git.openjdk.org/jdk8u-dev/compare/f4260a4deed5210fc56f08774e8ca50cf6f7cc8e...master

Your commit was automatically rebased without conflicts.

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

openjdk bot commented Nov 29, 2023

@phohensee @kurashige23 Pushed as commit b05e679.

💡 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