6668281: NullPointerException in DefaultTableCellHeaderRenderer.getColumnSortOrder()
Reviewed-by: alexp
--- a/jdk/src/share/classes/com/sun/java/swing/plaf/windows/WindowsTableHeaderUI.java Fri Jul 18 18:26:22 2008 +0400
+++ b/jdk/src/share/classes/com/sun/java/swing/plaf/windows/WindowsTableHeaderUI.java Mon Jul 21 10:21:42 2008 -0400
@@ -124,7 +124,7 @@
setIcon(null);
sortIcon = null;
SortOrder sortOrder =
- getColumnSortOrder(header.getTable(), column);
+ getColumnSortOrder(table, column);
if (sortOrder != null) {
switch (sortOrder) {
case ASCENDING: