Skip to content

8341447: Open source closed frame tests # 5#21372

Closed
azvegint wants to merge 3 commits intoopenjdk:masterfrom
azvegint:testsprint_2024_09/8341447_frame_batch5
Closed

8341447: Open source closed frame tests # 5#21372
azvegint wants to merge 3 commits intoopenjdk:masterfrom
azvegint:testsprint_2024_09/8341447_frame_batch5

Conversation

@azvegint
Copy link
Member

@azvegint azvegint commented Oct 5, 2024

More tests to open source:

  • java/awt/Frame/FocusTest.java - in the problem list on macos
  • java/awt/Frame/InitialIconifiedTest.java - added undecorated case, and improved failure detection for macos

Testing looks good.


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

Issue

  • JDK-8341447: Open source closed frame tests # 5 (Bug - P4)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 21372

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/21372.diff

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Oct 5, 2024

👋 Welcome back azvegint! 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 Oct 5, 2024

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

8341447: Open source closed frame tests # 5

Reviewed-by: honkar

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

  • 580eb62: 8320500: [vectorapi] RISC-V: Optimize vector math operations with SLEEF
  • 4a12f5b: 8341643: G1: Merged cards counter skewed by merge cards cache
  • 6e48618: 8341644: Compile error in cgroup coding when using toolchain clang
  • 7a1e832: 8336843: Deprecate java.util.zip.ZipError for removal
  • f62dba3: 8341597: ZipFileInflaterInputStream input buffer size uses uncompressed size
  • 59ac703: 8339220: [s390x] TestIfMinMax.java failure
  • ffb60e5: 8341594: Use Unsafe to coalesce reads in java.util.zip.ZipUtils
  • 57c859e: 8339836: Open source several AWT Mouse tests - Batch 1
  • b6a4047: 8339982: Open source several AWT Mouse tests - Batch 2
  • 45a6359: 8341668: Shenandoah: assert(tail_bits < (idx_t)BitsPerWord) failed: precondition
  • ... and 18 more: https://git.openjdk.org/jdk/compare/9a25f822fb2529c1cae3ae909761381789d7b7b1...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.

➡️ 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 Pull request is ready for review label Oct 5, 2024
@openjdk
Copy link

openjdk bot commented Oct 5, 2024

@azvegint The following label will be automatically applied to this pull request:

  • client

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added the client client-libs-dev@openjdk.org label Oct 5, 2024
@mlbridge
Copy link

mlbridge bot commented Oct 5, 2024

Webrevs

Copy link
Contributor

@honkar-jdk honkar-jdk left a comment

Choose a reason for hiding this comment

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

LGTM other than the minor comments

Comment on lines +84 to +85
// robot.waitForIdle();
// robot.delay(500);
Copy link
Contributor

@honkar-jdk honkar-jdk Oct 7, 2024

Choose a reason for hiding this comment

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

Tested on macOS and windows.
The test works on macOS with the work-around (extra delay) as described in the note.

});
}

if (!FAILURES.toString().isBlank()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
if (!FAILURES.toString().isBlank()) {
if (!FAILURES.isEmpty()) {

(You would click on the caption bar of another window,
and then on the caption bar of the FocusTest Frame.)

If the focus rectangle again appears, the test passes.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
If the focus rectangle again appears, the test passes.
If the focus rectangle appears again, the test passes.

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Oct 7, 2024
@openjdk openjdk bot removed the ready Pull request is ready to be integrated label Oct 8, 2024
@openjdk openjdk bot added the ready Pull request is ready to be integrated label Oct 8, 2024
@azvegint
Copy link
Member Author

azvegint commented Oct 8, 2024

/integrate

@openjdk
Copy link

openjdk bot commented Oct 8, 2024

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

  • b9db74a: 8341378: Open source few TrayIcon tests - Set8
  • 6546353: 8340203: Link color is hard to distinguish from text color in API documentation
  • 580eb62: 8320500: [vectorapi] RISC-V: Optimize vector math operations with SLEEF
  • 4a12f5b: 8341643: G1: Merged cards counter skewed by merge cards cache
  • 6e48618: 8341644: Compile error in cgroup coding when using toolchain clang
  • 7a1e832: 8336843: Deprecate java.util.zip.ZipError for removal
  • f62dba3: 8341597: ZipFileInflaterInputStream input buffer size uses uncompressed size
  • 59ac703: 8339220: [s390x] TestIfMinMax.java failure
  • ffb60e5: 8341594: Use Unsafe to coalesce reads in java.util.zip.ZipUtils
  • 57c859e: 8339836: Open source several AWT Mouse tests - Batch 1
  • ... and 20 more: https://git.openjdk.org/jdk/compare/9a25f822fb2529c1cae3ae909761381789d7b7b1...master

Your commit was automatically rebased without conflicts.

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

openjdk bot commented Oct 8, 2024

@azvegint Pushed as commit 966eb72.

💡 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

client client-libs-dev@openjdk.org integrated Pull request has been integrated

Development

Successfully merging this pull request may close these issues.

2 participants