JDK-8282937 : Write a regression test for JDK-4820080
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 8,11,17,19
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2022-03-10
  • Updated: 2022-10-12
  • Resolved: 2022-03-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 17 JDK 19 JDK 8
11.0.17-oracleFixed 17.0.5-oracleFixed 19 b15Fixed 8u351Fixed
Related Reports
Relates :  
Description
Write a regression test for JDK-4820080 : RFE: Cannot Change the JSplitPane Divider Color while dragging

Issue(as per bug description):
I want to change the color of the JSplitPane divider. I
opened the code and found that, the color is hard coded to
darkGray while one is dragging the splitDivider. I have an
application where the components on SplitPane have black
background, So when i drag I can not see the split getting
dragged. Can some one fix this, by externelising the
SplitDivider color so that it can be changed at run time.

Testing:
Java 1.4.1 -> Test Failed.
$ ./j2sdk1.4.1/bin/java JSplitPaneDragColorTest
Metal uses correct drag color false
CDE/Motif uses correct drag color false
Windows uses correct drag color false
Test Failed.

Java 1.5.0 -> Test Failed.
$ ./jdk1.5.0/bin/java JSplitPaneDragColorTest
Metal uses correct drag color true
Windows uses correct drag color true
Windows Classic uses correct drag color true
Test Passed.
Comments
Fix request [11u] I backport this for parity with 11.0.18-oracle. No risk, only a test change. Clean backport. Test passes. SAP nighlty testing passed.
12-10-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/1434 Date: 2022-10-11 07:59:11 +0000
11-10-2022

Fix request [17u] I backport this for parity with 17.0.5-oracle. No risk, only a test change. Clean backport. Test passes. SAP nightly testing passes.
24-06-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/497 Date: 2022-06-22 12:24:32 +0000
22-06-2022

Changeset: 849b1952 Author: Manukumar V S <mvs@openjdk.org> Committer: Sergey Bylokhov <serb@openjdk.org> Date: 2022-03-22 01:28:06 +0000 URL: https://git.openjdk.java.net/jdk/commit/849b19523a666bd2ec110876bfd5679b20be77f4
22-03-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/7803 Date: 2022-03-13 14:07:22 +0000
13-03-2022