United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7124515 [macosx] Test fail like 6366126 (ArrayIndexOutOfBoundException pressing ENTER after removing items)
JDK-7124515 : [macosx] Test fail like 6366126 (ArrayIndexOutOfBoundException pressing ENTER after removing items)

Details
Type:
Bug
Submit Date:
2011-12-23
Status:
Closed
Updated Date:
2012-09-26
Project Name:
JDK
Resolved Date:
2012-02-29
Component:
client-libs
OS:
os_x
Sub-Component:
java.awt
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
7u4 (b11)

Related Reports
Backport:

Sub Tasks

Description
http://java.net/jira/browse/MACOSX_PORT-753 submitted 2011/11/29 by Yuri Nesterenko
Test attached as is. Problem explained in <span class=&quot;nobr&quot;><a href=&quot;http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6366126&quot;>http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6366126<sup><img class=&quot;rendericon&quot; src=&quot;/jira/images/icons/linkext7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/></sup></a></span> for mustang jdk release. 
It's clearly a regression since b218!
Adding a junit test reference here: apparently similar failure reason.
Build: b219
closed/java/awt/List/EmptyListEventTest/EmptyListEventTest
java/awt/List/ActionAfterRemove/ActionAfterRemove.java

                                    

Comments
EVALUATION

Selected list index should be checked that it does not equal -1.
                                     
2012-01-11
EVALUATION

Changeset http://hg.openjdk.java.net/jdk7u/jdk7u-osx/jdk/rev/61f551d646ea
                                     
2012-01-13



Hardware and Software, Engineered to Work Together