-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 6
-
Component/s: client-libs
-
b24
-
generic
-
generic
-
Verified
DefaultTableModel.getColumnName(int column) throws ArrayIndexOutOfBoundsException for column < 0.
By spec of DefaultTableModel:
If columnIdentifiers does not have an entry for this index, returns the default name provided by the superclass.
And from AbstractTableModel.getColumnName(int column) description we have the following:
If column cannot be found, returns an empty string.
So this method should return an empty string in this case without exceptions. This bug in RI should be fixed.
###@###.### 2005-1-11 14:00:03 GMT
By spec of DefaultTableModel:
If columnIdentifiers does not have an entry for this index, returns the default name provided by the superclass.
And from AbstractTableModel.getColumnName(int column) description we have the following:
If column cannot be found, returns an empty string.
So this method should return an empty string in this case without exceptions. This bug in RI should be fixed.
###@###.### 2005-1-11 14:00:03 GMT