Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6290044

REGRESSION:ArrayIndexOutOfBoundsException exception throws

    XMLWordPrintable

    Details

      Description

      J2SE Version (please include all output from java -version flag):
       java version "1.6.0-ea"
       Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b41)
       Java HotSpot(TM) Client VM (build 1.6.0-ea-b41, mixed mode)

      Does this problem occur on J2SE 1.3, 1.4.x or 1.5? Yes / No (pick one)
       No.

      Operating System Configuration Information (be specific):
        win_xp, solaris sparc as well.

      Bug Description:
         ArrayIndexOutOfBoundsException exception throws when run the following
         test program. test program works fine with Tiger and early mustang release.
         This regression was introduced in mustang build 34; it might be related
         to the bug fix for bug#5076755.

      Steps to Reproduce (be specific):
         Run TabbedPan program and you will see the following exception:

         java TabbedPane
      java.lang.ArrayIndexOutOfBoundsException: -1
              at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.layoutContainer(BasicTabbedPaneUI.java:3003)
              at java.awt.Container.layout(Container.java:1402)
              at java.awt.Container.doLayout(Container.java:1391)
              at java.awt.Container.validateTree(Container.java:1474)
              at java.awt.Container.validateTree(Container.java:1481)
              at java.awt.Container.validateTree(Container.java:1481)
              at java.awt.Container.validateTree(Container.java:1481)
              at java.awt.Container.validateTree(Container.java:1481)
              at java.awt.Container.validate(Container.java:1449)
              at java.awt.Window.show(Window.java:552)
              at java.awt.Component.show(Component.java:1406)
              at java.awt.Component.setVisible(Component.java:1359)
              at TabbedPane.main(TabbedPane.java:45)

      ###@###.### 2005-06-23 17:48:53 GMT

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alexp Alexander Potochkin (Inactive)
              Reporter:
              tyao Ting-Yun Ingrid Yao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: