JDK-6834904 : DocumentListener and CaretListener can not get event notification for Swing DnD automation test
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6u14
  • Priority: P2
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2009-04-28
  • Updated: 2011-03-08
  • Resolved: 2009-05-13
Related Reports
Relates :  
Description
We ran Swing automation test for 6u14 b05.

Case name : InterJVMDnDTest

Build :6u14b05

Platform: vista-homepremium-i586

Description : 
1) doc.addDocumentListener(new DocumentListener()); in InterJVMDnDTest.java 

2) and taTarget.addCaretListener( new CaretListener()); in InterJVMFrame.java doesnt work. 

So the case fail. and DND test cases  are failed in build 6u14b05  ,but they are passed in the previous builds(before 6u14b05).

And also we verified this problem are existing on the following fine platforms: Ubuntu8.0.4-x86,OpenSolaris-x86,SuSE10-x86,VistaHomePremium-x86 and Solaris10-sparc.
This issue applies to all swing other 29 DnD automation cases for compoments: JTextArea, JTextField, JTextPane and JEditorPane.