Hi, Alexandr, the fix looks fine.
Did you investigate if there are other WM_* handled which were present in AwtTextArea, but not in AwtTextField? Such handlers are possible candidates for promoting to AwtTextComponent as well (of course, it should be addressed in a separate CR, if found).
Thanks, Artem On 7/23/2012 2:14 PM, Alexander Scherbatiy wrote:
Please review the fix: bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7185512 webrev: http://cr.openjdk.java.net/~alexsch/7185512/webrev.00/ After switching the EDIT control to RICHEDIT for the TextField component the WM_PRINTCLIENT message should also be handled in the same way as it is done for the TextArea. The WM_PRINTCLIENT message handling is moved to the AwtTextComponent class in the fix. Thanks, Alexandr.
