United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7184365 closed/java/awt/event/TextEvent/TextEventSequenceTest/TextEventSequenceTest fails
JDK-7184365 : closed/java/awt/event/TextEvent/TextEventSequenceTest/TextEventSequenceTest fails

Details
Type:
Bug
Submit Date:
2012-07-16
Status:
Closed
Updated Date:
2014-04-21
Project Name:
JDK
Resolved Date:
2012-08-10
Component:
client-libs
OS:
os_x,windows
Sub-Component:
java.awt
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7u6
Fixed Versions:
7u40 (b03)

Related Reports
Backport:
Backport:
Duplicate:
Relates:

Sub Tasks

Description
See comments.

                                    

Comments
EVALUATION

TextArea.setText() and TextField.setText() methods functionality is unified when we try to set empty text several times: they send TextEvent only for the first call.
But the test expects TextEvent each time when calling TextField.setText().
We have different behavior across the platforms. That means that we should unify the behavior (using Windows as the proper one) and then fix the test.
                                     
2012-07-18
EVALUATION

changeset: http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/a76bc4fefb36
                                     
2012-08-06
EVALUATION

[SQE]
  Risk: low
  To test the fix run the test/java/awt/event/TextEvent/TextEventSequenceTest/TextEventSequenceTest.java test. 
  Note that the test was moved into the open repository.
[SQE]
                                     
2012-08-06
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-comp/jdk/rev/896322c6f35f
                                     
2012-08-14
/test: http://hg.openjdk.java.net/hsx/hotspot-comp/jdk/rev/896322c6f35f
                                     
2012-12-06



Hardware and Software, Engineered to Work Together