--- old/src/java.desktop/share/classes/javax/swing/JList.java 2018-03-01 11:36:31.366739700 +0000 +++ new/src/java.desktop/share/classes/javax/swing/JList.java 2018-03-01 11:36:30.485210700 +0000 @@ -2427,7 +2427,7 @@ *

* If the model isn't empty, the width is the preferred size's width, * typically the width of the widest list element. The height is the - * {@code fixedCellHeight} multiplied by the {@code visibleRowCount}, + * height of the cell with index 0 multiplied by the {@code visibleRowCount}, * plus the list's vertical insets. *

* {@code VERTICAL_WRAP} or {@code HORIZONTAL_WRAP}: