[7u4] Request for approval for CR 7124515 [macosx] Test fail like 6366126 (ArrayIndexOutOfBoundException pressing ENTER after removing items) (original) (raw)
Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Wed Jan 11 06:08:25 PST 2012
- Previous message: Review request for MACOSX_PORT-784: Program freeze when Swing is used with -XstartOnFirstThread
- Next message: [7u4] Request for approval for CR 7124515 [macosx] Test fail like 6366126 (ArrayIndexOutOfBoundException pressing ENTER after removing items)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: Review request for MACOSX_PORT-784: Program freeze when Swing is used with -XstartOnFirstThread
- Next message: [7u4] Request for approval for CR 7124515 [macosx] Test fail like 6366126 (ArrayIndexOutOfBoundException pressing ENTER after removing items)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]