<Swing Dev> [9] Review Request for 8133864: Wrong display, when the document I18n properties is true.

Semyon Sadetsky semyon.sadetsky at oracle.com
Wed Sep 9 12:43:01 UTC 2015


Hello,

Please review fix for JDK9:
bug: https://bugs.openjdk.java.net/browse/JDK-8133864
webrev: http://cr.openjdk.java.net/~ssadetsky/8133864/webrev.00/

For the i18n mode the TextLayoutStrategy reorders child views in 
paragraph's row according to the bidi leveles. To reorder the 
CompositeView.replace() method is called which contains the same views 
but in different order. The replace() method has an issue because it can 
damage inner hierarchy of the child view by setting its parent to null.
The fix solution introduces a check if a view item is in use before 
nullifying its parent.

--Semyon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20150909/3c1effe1/attachment.html>


More information about the swing-dev mailing list