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

8347475: GTK: javax/swing/JColorChooser/Test8152419.java there are no swatches or RGB tab in JColorChooser #23128

Closed
wants to merge 3 commits into from

Conversation

kumarabhi006
Copy link
Contributor

@kumarabhi006 kumarabhi006 commented Jan 15, 2025

There are no tabs available for GTK Look and Feel due to the different ColorChooser UI design. Updated the test to skip testing for GTK L&F.


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-8347475: GTK: javax/swing/JColorChooser/Test8152419.java there are no swatches or RGB tab in JColorChooser (Bug - P4)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 23128

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

Using diff file

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

Using Webrev

Link to Webrev Comment

Sorry, something went wrong.

@bridgekeeper
Copy link

bridgekeeper bot commented Jan 15, 2025

👋 Welcome back abhiscxk! 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 Jan 15, 2025

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

8347475: GTK: javax/swing/JColorChooser/Test8152419.java there are no swatches or RGB tab in JColorChooser

Reviewed-by: aivanov, azvegint, prr, kizune

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

  • c38417a: 8348186: C1: Purge fpu_stack_size infrastructure
  • f2a9d26: 8347740: java/io/File/createTempFile/SpecialTempFile.java failing
  • 25fecaa: 8348039: testmake fails at IDEA after JDK-8347825
  • 6a29a81: 8345750: Shenandoah: Test TestJcmdHeapDump.java#aggressive intermittent assert(gc_cause() == GCCause::_no_gc) failed: Over-writing cause
  • 81912e9: 8347841: Test fixes that use deprecated time zone IDs
  • 3d4afc4: 8345079: Simplify/cleanup Exception handling in RMIConnectionImpl
  • a62a870: 8347995: Race condition in jdk/java/net/httpclient/offline/FixedResponseHttpClient.java
  • 8e8c948: 8346866: [ASAN] memoryReserver.cpp reported applying non-zero offset to non-null pointer produced null pointer
  • 1ed396b: 8346927: serviceability/dcmd/vm/[SystemMapTest.java|SystemDumpMapTest.java] fail at jmx
  • 5c4a387: 8348107: test/jdk/java/net/httpclient/HttpsTunnelAuthTest.java fails intermittently
  • ... and 72 more: https://git.openjdk.org/jdk/compare/973c630777d4075bc85c7ddc1eb02cc65904344d...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 changed the title 8347475: GTK: javax/swing/JColorChooser/Test8152419.java there is no swatches or RGB tab in JColorChooser 8347475: GTK: javax/swing/JColorChooser/Test8152419.java there is no swatches or RGB tab in JColorChooser Jan 15, 2025
@openjdk openjdk bot added the rfr Pull request is ready for review label Jan 15, 2025
@openjdk
Copy link

openjdk bot commented Jan 15, 2025

@kumarabhi006 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 Jan 15, 2025
@mlbridge
Copy link

mlbridge bot commented Jan 15, 2025

Webrevs

@lawrence-andrew
Copy link
Contributor

LGTM

@@ -43,9 +43,18 @@
import javax.swing.UIManager;
import javax.swing.border.EmptyBorder;

import jtreg.SkippedException;
Copy link
Contributor

Choose a reason for hiding this comment

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

jtreg tag @library needs to be added for this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated.

Copy link
Member

@aivanov-jdk aivanov-jdk left a comment

Choose a reason for hiding this comment

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

Looks good, except for minor comments.

Comment on lines 51 to 54
public static void main(String args[]) throws Exception {

// ColorChooser UI design is different for GTK L&F.
// There are no tabs available for GTK L&F, skip the testing.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
public static void main(String args[]) throws Exception {
// ColorChooser UI design is different for GTK L&F.
// There are no tabs available for GTK L&F, skip the testing.
public static void main(String args[]) throws Exception {
// ColorChooser UI design is different for GTK L&F.
// There are no tabs in GTK L&F, skip the testing.

No blank line at the start of a method; subtle change in comment.

Comment on lines 24 to 30
/*
* @test
* @bug 8152419
* @library /test/lib
* @summary To Verify JColorChooser tab selection
* @run main/manual Test8152419
*/
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
/*
* @test
* @bug 8152419
* @library /test/lib
* @summary To Verify JColorChooser tab selection
* @run main/manual Test8152419
*/
/*
* @test
* @bug 8152419
* @library /test/lib
* @summary To Verify JColorChooser tab selection
* @run main/manual Test8152419
*/

The formatting of the jtreg tags looks weird.

Usually, the opening /* starts in the first column, and the following * are aligned to the first one.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I saw that and then forget to change. Updated now.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Jan 20, 2025
Copy link
Member

@azuev-java azuev-java left a comment

Choose a reason for hiding this comment

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

Looks good.

@openjdk openjdk bot removed the ready Pull request is ready to be integrated label Jan 21, 2025
@openjdk openjdk bot added ready Pull request is ready to be integrated and removed ready Pull request is ready to be integrated labels Jan 21, 2025
@kumarabhi006 kumarabhi006 changed the title 8347475: GTK: javax/swing/JColorChooser/Test8152419.java there is no swatches or RGB tab in JColorChooser 8347475: GTK: javax/swing/JColorChooser/Test8152419.java there are no swatches or RGB tab in JColorChooser Jan 21, 2025
@openjdk openjdk bot added the ready Pull request is ready to be integrated label Jan 21, 2025
@kumarabhi006
Copy link
Contributor Author

/integrate

@openjdk
Copy link

openjdk bot commented Jan 22, 2025

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

  • 7a6ff92: 8345543: Test serviceability/jvmti/vthread/StopThreadTest/StopThreadTest.java failed: expected JVMTI_ERROR_OPAQUE_FRAME instead of: 0
  • bbd8807: 8338428: Add logging of final VM flags while setting properties
  • c38417a: 8348186: C1: Purge fpu_stack_size infrastructure
  • f2a9d26: 8347740: java/io/File/createTempFile/SpecialTempFile.java failing
  • 25fecaa: 8348039: testmake fails at IDEA after JDK-8347825
  • 6a29a81: 8345750: Shenandoah: Test TestJcmdHeapDump.java#aggressive intermittent assert(gc_cause() == GCCause::_no_gc) failed: Over-writing cause
  • 81912e9: 8347841: Test fixes that use deprecated time zone IDs
  • 3d4afc4: 8345079: Simplify/cleanup Exception handling in RMIConnectionImpl
  • a62a870: 8347995: Race condition in jdk/java/net/httpclient/offline/FixedResponseHttpClient.java
  • 8e8c948: 8346866: [ASAN] memoryReserver.cpp reported applying non-zero offset to non-null pointer produced null pointer
  • ... and 74 more: https://git.openjdk.org/jdk/compare/973c630777d4075bc85c7ddc1eb02cc65904344d...master

Your commit was automatically rebased without conflicts.

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

openjdk bot commented Jan 22, 2025

@kumarabhi006 Pushed as commit 8458f88.

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

None yet

7 participants