Skip to content

8315871: Opensource five more Swing regression tests#15702

Closed
azuev-java wants to merge 4 commits intoopenjdk:masterfrom
azuev-java:JDK-8315871
Closed

8315871: Opensource five more Swing regression tests#15702
azuev-java wants to merge 4 commits intoopenjdk:masterfrom
azuev-java:JDK-8315871

Conversation

@azuev-java
Copy link
Copy Markdown
Member

@azuev-java azuev-java commented Sep 13, 2023

Clean up and move to open source five tests.
javax/swing/AncestorNotifier/4817630/bug4817630.java
javax/swing/BoxLayout/4191948/bug4191948.java
javax/swing/ComponentInputMap/4248723/bug4248723.java
javax/swing/DefaultBoundedRangeModel/4297953/bug4297953.java
javax/swing/DefaultButtonModel/4097723/bug4097723.java


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-8315871: Opensource five more Swing regression tests (Bug - P4)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 15702

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

Using diff file

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

Webrev

Link to Webrev Comment

Clean up and move to open source five tests.
javax/swing/AncestorNotifier/4817630/bug4817630.java
javax/swing/BoxLayout/4191948/bug4191948.java
javax/swing/ComponentInputMap/4248723/bug4248723.java
javax/swing/DefaultBoundedRangeModel/4297953/bug4297953.java
javax/swing/DefaultButtonModel/4097723/bug4097723.java
@bridgekeeper
Copy link
Copy Markdown

bridgekeeper bot commented Sep 13, 2023

👋 Welcome back kizune! 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 added the rfr Pull request is ready for review label Sep 13, 2023
@openjdk
Copy link
Copy Markdown

openjdk bot commented Sep 13, 2023

@azuev-java 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 Sep 13, 2023
@mlbridge
Copy link
Copy Markdown

mlbridge bot commented Sep 13, 2023

Webrevs

Comment thread test/jdk/javax/swing/AncestorNotifier/4817630/bug4817630.java
azuev-java and others added 2 commits September 14, 2023 08:22
…53.java

Co-authored-by: Andrey Turbanov <turbanoff@gmail.com>
Co-authored-by: Andrey Turbanov <turbanoff@gmail.com>
Copy link
Copy Markdown
Contributor

@DamonGuy DamonGuy left a comment

Choose a reason for hiding this comment

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

LGTM. Just move the frame dispose code blocks to EDT.

Comment on lines +73 to +76
if (frame != null) {
frame.setVisible(false);
frame.dispose();
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should this if statement be run on EDT?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

In new version the entire method is being run on EDT.

SwingUtilities.invokeAndWait(test::init);
test.start();
} finally {
test.destroy();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Either destroy() or the if statement in destroy() for disposing the frame should be on EDT

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed.

@azuev-java
Copy link
Copy Markdown
Member Author

Fixed found problems.

@openjdk
Copy link
Copy Markdown

openjdk bot commented Sep 25, 2023

@azuev-java 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:

8315871: Opensource five more Swing regression tests

Reviewed-by: dnguyen, prr

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

  • b65f4f7: 8313403: Remove unused 'mask' field from JFormattedTextField
  • e3201d1: 8310631: test/jdk/sun/nio/cs/TestCharsetMapping.java is spuriously passing
  • 9291b46: 8313804: JDWP support for -Djava.net.preferIPv6Addresses=system
  • afa4833: 8271268: Fix Javadoc links for Stream.mapMulti
  • 9688ec2: 8311823: JFR: Uninitialized EventEmitter::_thread_id field
  • 0f77d25: 8315684: Parallelize sun/security/util/math/TestIntegerModuloP.java
  • 311c746: 8316859: RISC-V: Disable detection of V through HWCAP
  • 0f0c5b2: 8316648: jrt-fs.jar classes not reproducible between standard and bootcycle builds
  • 3d6e775: 8316669: ImmutableOopMapSet destructor not called
  • 837783c: 8316670: Remove effectively unused nmethodBucket::_count
  • ... and 282 more: https://git.openjdk.org/jdk/compare/cef9fff0675c85906e134e4c0a8d2036860cd4b3...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 ready Pull request is ready to be integrated label Sep 25, 2023
@azuev-java
Copy link
Copy Markdown
Member Author

/integrate

@openjdk
Copy link
Copy Markdown

openjdk bot commented Sep 25, 2023

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

  • b65f4f7: 8313403: Remove unused 'mask' field from JFormattedTextField
  • e3201d1: 8310631: test/jdk/sun/nio/cs/TestCharsetMapping.java is spuriously passing
  • 9291b46: 8313804: JDWP support for -Djava.net.preferIPv6Addresses=system
  • afa4833: 8271268: Fix Javadoc links for Stream.mapMulti
  • 9688ec2: 8311823: JFR: Uninitialized EventEmitter::_thread_id field
  • 0f77d25: 8315684: Parallelize sun/security/util/math/TestIntegerModuloP.java
  • 311c746: 8316859: RISC-V: Disable detection of V through HWCAP
  • 0f0c5b2: 8316648: jrt-fs.jar classes not reproducible between standard and bootcycle builds
  • 3d6e775: 8316669: ImmutableOopMapSet destructor not called
  • 837783c: 8316670: Remove effectively unused nmethodBucket::_count
  • ... and 282 more: https://git.openjdk.org/jdk/compare/cef9fff0675c85906e134e4c0a8d2036860cd4b3...master

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Sep 25, 2023
@openjdk openjdk bot closed this Sep 25, 2023
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Sep 25, 2023
@openjdk
Copy link
Copy Markdown

openjdk bot commented Sep 25, 2023

@azuev-java Pushed as commit be9cc73.

💡 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.

4 participants