[7u4] Request for approval for CR 7124515 [macosx] Test fail like 6366126 (ArrayIndexOutOfBoundException pressing ENTER after removing items)
Alexander Scherbatiy
alexandr.scherbatiy at oracle.com
Wed Jan 11 06:08:25 PST 2012
Hello,
Please review a fix for
7124515 [macosx] Test fail like 6366126 (ArrayIndexOutOfBoundException
pressing ENTER after removing items)
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7124515
webrev: http://cr.openjdk.java.net/~alexsch/7124515/webrev.00/
To avoid the IOBE the fix
- Gets the selected value by the getSelectedValue() method and checks it
to null instead of using the getSelectedIndex() index in the
processKeyEvent() method
- Checks the selected index bounds in the processMouseEvent() method
The attached to the bug test is added to the repository.
Mouse double click checking is added to the test.
Thanks,
Alexandr.
More information about the macosx-port-dev
mailing list