Integrated: 8282343: Create a regression test for JDK-4518432
Manukumar V S
mvs at openjdk.java.net
Fri Mar 4 10:59:05 UTC 2022
On Thu, 24 Feb 2022 11:46:58 GMT, Manukumar V S <mvs at openjdk.org> wrote:
> Create a regression test for [JDK-4518432](https://bugs.openjdk.java.net/browse/JDK-4518432).
>
> Issue: Copying from JTree and then changing the data in the component that was copied from, can cause pastes to use
> the new edited data.
>
> This test verifies that copying from JTree node and then changing the data in the component that was copied from,
> is not causing the pastes to use the new edited data instead of the original copied data.
>
> Testing:
> Java 1.4.0 -> Test Failed.
> $ ./j2sdk1.4.0/bin/java JTreeWin
> Testing L&F: javax.swing.plaf.metal.MetalLookAndFeel
> Test Failed in javax.swing.plaf.metal.MetalLookAndFeel, Expected : "colorsblue", but actual : "ctextolorsblue"
> Testing L&F: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
> Test Failed in com.sun.java.swing.plaf.windows.WindowsLookAndFeel, Expected : "colorsblue", but actual : "ctextolorsblue"
>
> Java 1.4.1 -> Test Passed.
> $ ./j2sdk1.4.1/bin/java JTreeWin
> Testing L&F: javax.swing.plaf.metal.MetalLookAndFeel
> Test Passed in javax.swing.plaf.metal.MetalLookAndFeel
> Testing L&F: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
> Test Passed in com.sun.java.swing.plaf.windows.WindowsLookAndFeel
This pull request has now been integrated.
Changeset: b3837808
Author: Manukumar V S <mvs at openjdk.org>
Committer: Alexey Ivanov <aivanov at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/b3837808bf13de2aa3d8c6c21cf61baac9baf2b2
Stats: 217 lines in 1 file changed: 217 ins; 0 del; 0 mod
8282343: Create a regression test for JDK-4518432
Reviewed-by: aivanov
-------------
PR: https://git.openjdk.java.net/jdk/pull/7605
More information about the client-libs-dev
mailing list