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

7093691: Nimbus LAF: disabled JComboBox using renderer has bad font color #3008

Closed
wants to merge 4 commits into from

Conversation

tkiriyama
Copy link
Contributor

@tkiriyama tkiriyama commented Oct 28, 2024

Hi all,
This pull request is the backport of JDK-7093691.
It is clean, but the added test DisabledComboBoxFontTestAuto.java fails with some LAFs. This problem is resolved in JDK-8310072.
I created the pull request #3009 which backports JDK-8310072.

Testing:
javax/swing/JComboBox and tests using DefaultListCellRenderer class on Windows and Linux


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-7093691 needs maintainer approval

Issue

  • JDK-7093691: Nimbus LAF: disabled JComboBox using renderer has bad font color (Bug - P4 - Approved)

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 3008

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

Using diff file

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

Webrev

Link to Webrev Comment

Sorry, something went wrong.

kiriyama added 3 commits October 25, 2024 14:11

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
…olor
@bridgekeeper
Copy link

bridgekeeper bot commented Oct 28, 2024

👋 Welcome back tkiriyama! 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 28, 2024

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

7093691: Nimbus LAF: disabled JComboBox using renderer has bad font color

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

  • 70a227f: 8333824: Unused ClassValue in VarHandles
  • 9cf4adb: 8319651: Several network tests ignore vm flags when start java process
  • 808c5cd: 8320673: PageFormat/CustomPaper.java has no Pass/Fail buttons; multiple instructions
  • 6b4544c: 8225220: When the Tab Policy is checked,the scroll button direction displayed incorrectly.
  • 3195d3d: 8322754: click JComboBox when dialog about to close causes IllegalComponentStateException
  • 5daf066: 8301379: Verify TLS_ECDH_* cipher suites cannot be negotiated
  • e3e7909: 8296709: WARNING: JNI call made without checking exceptions
  • afbe310: 8326948: Force English locale for timeout formatting
  • 4fea31e: 8328242: Add a log area to the PassFailJFrame
  • 3146710: 8323562: SaslInputStream.read() may return wrong value
  • ... and 1 more: https://git.openjdk.org/jdk17u-dev/compare/a6b9bfefb9a71c0adfa40ed8d31b5bcfa139ef14...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.

➡️ 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 87b314a985c5c3937c1d1d8daadd3e9f8b1acd9d 7093691: Nimbus LAF: disabled JComboBox using renderer has bad font color Oct 28, 2024
@openjdk
Copy link

openjdk bot commented Oct 28, 2024

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

@openjdk
Copy link

openjdk bot commented Oct 28, 2024

⚠️ @tkiriyama 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 the rfr Pull request is ready for review label Oct 28, 2024
@mlbridge
Copy link

mlbridge bot commented Oct 28, 2024

Webrevs

@tkiriyama
Copy link
Contributor Author

/approval request I would like to have the change in jdk17u-dev as well, because the issue is present there too. The backport is clean, but added test DisabledComboBoxFontTestAuto.java fails with some LAFs. I will backport JDK-8310072 to resolve the test failure (#3009) . I verified that other javax/swing/JComboBox and tests using DefaultListCellRendere pass after changed.

@openjdk
Copy link

openjdk bot commented Oct 29, 2024

@tkiriyama
7093691: The approval request has been created successfully.

@openjdk openjdk bot added approval ready Pull request is ready to be integrated and removed approval labels Oct 29, 2024
@tkiriyama
Copy link
Contributor Author

/integrate

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

openjdk bot commented Oct 30, 2024

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

@GoeLin
Copy link
Member

GoeLin commented Oct 30, 2024

/sponsor

@openjdk
Copy link

openjdk bot commented Oct 30, 2024

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

  • 70a227f: 8333824: Unused ClassValue in VarHandles
  • 9cf4adb: 8319651: Several network tests ignore vm flags when start java process
  • 808c5cd: 8320673: PageFormat/CustomPaper.java has no Pass/Fail buttons; multiple instructions
  • 6b4544c: 8225220: When the Tab Policy is checked,the scroll button direction displayed incorrectly.
  • 3195d3d: 8322754: click JComboBox when dialog about to close causes IllegalComponentStateException
  • 5daf066: 8301379: Verify TLS_ECDH_* cipher suites cannot be negotiated
  • e3e7909: 8296709: WARNING: JNI call made without checking exceptions
  • afbe310: 8326948: Force English locale for timeout formatting
  • 4fea31e: 8328242: Add a log area to the PassFailJFrame
  • 3146710: 8323562: SaslInputStream.read() may return wrong value
  • ... and 1 more: https://git.openjdk.org/jdk17u-dev/compare/a6b9bfefb9a71c0adfa40ed8d31b5bcfa139ef14...master

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Oct 30, 2024
@openjdk openjdk bot closed this Oct 30, 2024
@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 Oct 30, 2024
@openjdk
Copy link

openjdk bot commented Oct 30, 2024

@GoeLin @tkiriyama Pushed as commit a72e14a.

💡 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 clean integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

None yet

2 participants