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

REGRESSION: 4 JCK1.5-runtime api/javax_swing/JTable tests fail

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b28
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description



      Name: iaR10016 Date: 10/06/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b22
                       (passes with JDK1.5.0-b21, JDK1.4.2-b28)
      JCK : JCK1.5-runtime (b05)
      Platform[s] : all
      switch/Mode : default
      JCK test owner: http://javaweb.eng/jck/usr/owners.jto
      Falling tests : api/javax_swing/JTable/index.html#addColumn [JTable0007]
                       api/javax_swing/JTable/index.html#addColumn2 [JTable0086]
                       api/javax_swing/JTable/index.html#Ctor[JTable2006, JTable0001,
                          JTable0002, JTable0003, JTable0004, JTable0005, JTable0006]
                       api/javax_swing/JTable/index.html#Ctor2 [JTable0085]

      4 JCK1.5-runtime api/javax_swing/JTable tests fail with "Failed. Wrong object"
      error message using JDK1.5.0-b22.

      Test source location:
      =====================
      /java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/javax_swing/JTable/addColumnTests.java
      /java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/javax_swing/JTable/addColumn2Tests.java
      /java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/javax_swing/JTable/CtorTests.java
      /java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/javax_swing/JTable/Ctor2Tests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b22/jck15/linux/redhat9.0_gnome_smp_client_dsa_linux-22/workDir/api/javax_swing/JTable/index_Ctor2.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b22/jck15/linux/redhat9.0_gnome_smp_client_dsa_linux-22/workDir/api/javax_swing/JTable/index_addColumn2.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b22/jck15/linux/redhat9.0_gnome_smp_client_dsa_linux-22/workDir/api/javax_swing/JTable/index_Ctor.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b22/jck15/linux/redhat9.0_gnome_smp_client_dsa_linux-22/workDir/api/javax_swing/JTable/index_addColumn.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables):
      --- script start ---
      #!/bin/bash
      #KOORI_ONESTOP is your path to koori.sfbay/onestop (/net/koori/onestop, /java/re)
      KOORI_ONESTOP="/java/re"
      #JCK="/net/linux-15/export/home/java/jck1.5/JCK-runtime-15"
      JCK="$KOORI_ONESTOP/jck/1.5/promoted/beta/b04/binaries/JCK-runtime-15"
      #JDK="/net/linux-15/export/home/java/jdk1.5.0/linux"
      JDK="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b22/binaries/linux-i586"
      export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
      $JDK/bin/java -showversion javasoft.sqe.tests.api.javax.swing.JTable.addColumnTests -TestCaseID JTable0007
      echo ======================================================================================================
      $JDK/bin/java javasoft.sqe.tests.api.javax.swing.JTable.addColumn2Tests -TestCaseID JTable0086
      echo ======================================================================================================
      $JDK/bin/java javasoft.sqe.tests.api.javax.swing.JTable.CtorTests -TestCaseID JTable2006 JTable0001 JTable0002 JTable0003 JTable0004 JTable0005 JTable0006
      echo ======================================================================================================
      $JDK/bin/java javasoft.sqe.tests.api.javax.swing.JTable.Ctor2Tests -TestCaseID JTable0085
      --- script end ---

      Script output:
      ==============
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b22)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b22, mixed mode)

      JTable0007: Failed. Wrong object
      ====== JTable0007 ====== public void addColumn(TableColumn aColumn)
      The result of the operation:
      c.getColumnCount() 1
      c.getRowCount() 0
      c.getColumn(id) javax.swing.table.TableColumn@17653ae
      getModel() javax.swing.table.DefaultTableModel@16fe0f4
      getColumnModel() javax.swing.table.DefaultTableColumnModel@19d0a1
      getSelectionModel() javax.swing.DefaultListSelectionModel 13642577 ={}
      getTableHeader()
      javax.swing.table.JTableHeader[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=16777224,maximumSize=,minimumSize=,preferredSize=,draggedDistance=0,reorderingAllowed=true,resizingAllowed=true,updateTableInRealTime=true]
      getAutoResizeMode() 2
      getRowHeight() 18
      getIntercellSpacing() java.awt.Dimension[width=1,height=1]
      getColumnSelectionAllowed() false
      getRowSelectionAllowed() true
      getAutoCreateColumnsFromModel() true
      isRowSelected(-1) false
      getCellEditor() null
      getPreferredScrollableViewportSize() java.awt.Dimension[width=450,height=400]
      --------------------
      STATUS:Failed.test cases: 1; all failed; first test case failure: JTable0007
      ================================================================================================================

      JTable0086: Failed. Wrong object
      ====== JTable0086 ====== public void addColumn(TableColumn aColumn)
      The result of the operation:
      c.getColumnCount() 1
      c.getRowCount() 0
      c.getColumnName(0) A
      getModel() javax.swing.table.DefaultTableModel@e80842
      getColumnModel() javax.swing.table.DefaultTableColumnModel@17653ae
      getSelectionModel() javax.swing.DefaultListSelectionModel 24109300 ={}
      getTableHeader()
      javax.swing.table.JTableHeader[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=16777224,maximumSize=,minimumSize=,preferredSize=,draggedDistance=0,reorderingAllowed=true,resizingAllowed=true,updateTableInRealTime=true]
      getAutoResizeMode() 2
      getRowHeight() 18
      getIntercellSpacing() java.awt.Dimension[width=1,height=1]
      getColumnSelectionAllowed() false
      getRowSelectionAllowed() true
      getAutoCreateColumnsFromModel() true
      isRowSelected(-1) false
      --------------------
      STATUS:Failed.test cases: 1; all failed; first test case failure: JTable0086
      ======================================================================================================

      JTable2006: Failed. Wrong object
      JTable0001: Failed. Wrong object
      JTable0002: Failed. Wrong object
      JTable0003: Failed. Wrong object
      JTable0004: Failed. Wrong object
      JTable0005: Failed. Wrong object
      JTable0006: Failed. Wrong object
      ====== JTable2006 ====== public JTable()
      The result of initialization:
      getModel() javax.swing.table.DefaultTableModel@765a16
      getColumnModel() javax.swing.table.DefaultTableColumnModel@148bd3
      getSelectionModel() javax.swing.DefaultListSelectionModel 15206466 ={}
      getTableHeader()
      javax.swing.table.JTableHeader[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=16777224,maximumSize=,minimumSize=,preferredSize=,draggedDistance=0,reorderingAllowed=true,resizingAllowed=true,updateTableInRealTime=true]
      getAutoResizeMode() 2
      getRowHeight() 18
      getIntercellSpacing() java.awt.Dimension[width=1,height=1]
      getColumnSelectionAllowed() false
      getRowSelectionAllowed() true
      getAutoCreateColumnsFromModel() true
      isRowSelected(-1) false
      getCellEditor() null
      getPreferredScrollableViewportSize() java.awt.Dimension[width=450,height=400]
      getRowCount() 0
      getColumnCount() 0
      --------------------
      ...
      ====== JTable0006 ====== public JTable(Object[][] data, Object[] columnNames)
      The result of initialization
      getModel() javax.swing.JTable$1@1551d7f
      getColumnModel() javax.swing.table.DefaultTableColumnModel@10382a9
      getSelectionModel() javax.swing.DefaultListSelectionModel 24585668 ={}
      getTableHeader()
      javax.swing.table.JTableHeader[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=16777224,maximumSize=,minimumSize=,preferredSize=,draggedDistance=0,reorderingAllowed=true,resizingAllowed=true,updateTableInRealTime=true]
      getBackground() javax.swing.plaf.ColorUIResource[r=255,g=255,b=255]
      getGridColor() javax.swing.plaf.ColorUIResource[r=122,g=138,b=153]
      getAutoResizeMode() 2
      getRowHeight() 18
      getIntercellSpacing() java.awt.Dimension[width=1,height=1]
      getColumnSelectionAllowed() false
      getRowSelectionAllowed() true
      getAutoCreateColumnsFromModel() true
      isRowSelected(-1) false
      getCellEditor() null
      getPreferredScrollableViewportSize() java.awt.Dimension[width=450,height=400]
      getRowCount() 2
      getColumnCount() 3
      --------------------
      STATUS:Failed.test cases: 7; all failed; first test case failure: JTable2006
      ======================================================================================================

      JTable0085: Failed. Wrong object
      ====== JTable0085 ====== public JTable(TableModel tm, TableColumnModel tcm, ListSelectionModel sm)
      The result of initialization:
      getModel() javax.swing.table.DefaultTableModel@765a16
      getColumnModel() javax.swing.table.DefaultTableColumnModel@148bd3
      getSelectionModel() javax.swing.DefaultListSelectionModel 15206466 ={}
      getTableHeader()
      javax.swing.table.JTableHeader[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=16777224,maximumSize=,minimumSize=,preferredSize=,draggedDistance=0,reorderingAllowed=true,resizingAllowed=true,updateTableInRealTime=true]
      getBackground() javax.swing.plaf.ColorUIResource[r=255,g=255,b=255]
      getGridColor() javax.swing.plaf.ColorUIResource[r=122,g=138,b=153]
      getAutoResizeMode() 2
      getRowHeight() 18
      getIntercellSpacing() java.awt.Dimension[width=1,height=1]
      getColumnSelectionAllowed() false
      getRowSelectionAllowed() true
      getAutoCreateColumnsFromModel() true
      isRowSelected(-1) false
      getRowCount() 0
      getColumnCount() 0
      --------------------
      STATUS:Failed.test cases: 1; all failed; first test case failure: JTable0085

      Specific machine info:
      ======================
      Hostname: linux-21
      OS: Windows XP Home
      Hostname: linux-22
      OS: RedHat Linux 9.0 (GNOME)

      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            svioletsunw Scott Violet (Inactive)
            Reporter:
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: