> 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

Manukumar V S has updated the pull request incrementally with one additional 
commit since the last revision:

  Review comments fixed: Formatting changes, removed extra blank lines, removed 
redundant tree focus listening code

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7605/files
  - new: https://git.openjdk.java.net/jdk/pull/7605/files/00f02705..de0712a5

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7605&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7605&range=00-01

  Stats: 20 lines in 1 file changed: 0 ins; 20 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7605.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7605/head:pull/7605

PR: https://git.openjdk.java.net/jdk/pull/7605

Reply via email to