Review request for 7122246: [macosx] JCK swing test CaretTests fails in b205

Mike Swingler swingler at apple.com
Wed Jan 18 11:35:05 PST 2012


On Jan 18, 2012, at 9:55 AM, Alexander Potochkin wrote:

> Hello
> 
> Please review the following fix:
> http://cr.openjdk.java.net/~alexp/7122246/webrev.00/
> 
> the bug's description is here:
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7122246
> 
> I removed the setter which ignores the parameter for multiline editors
> and made sure that I keep the selection when the focus is lost
> 
> please refer to the javax.swing.DefaultCaret.focusLost() method

I've tested this fix and it looks good (the caret and selection behave as expected in both single-line and multi-line editors when the window transitions between the background and the foreground).

Cheers,
Mike Swingler
Apple Inc.



More information about the macosx-port-dev mailing list