Details
-
Bug
-
Resolution: Fixed
-
P4
-
5.0, 6
-
b32
-
generic, x86
-
generic, windows_xp
Description
When JScrollPane.setRowHeaderView() is first invoked, it causes BasicScrollPaneUI.updateRowHeader to call JViewport.getViewPosition() when no view has yet been set. JViewport.getView() calls getComponent(0), causing Component.getComponent() to throw an ArrayIndexOutOfBoundsException, which getView catches. Exceptions are expensive, and should be reserved for unusual occurrences.
###@###.### 2005-03-22 22:22:47 GMT
###@###.### 2005-03-22 22:22:47 GMT
Attachments
Issue Links
- duplicates
-
JDK-6475389 JScrollPane's use of JViewport throws an ArrayIndexOutOfBoundsException
- Closed