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

JCK13a c2 Xcomp api/javax_swing/JTable/index.html#sizeColumnsToFit on 4m machine

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.3.1
    • 1.3.1, 1.4.0
    • hotspot
    • rc1
    • sparc
    • solaris_8
    • Verified

        The following test faile on a 4m machine only when using jdk131-b19 with -server -Xcomp.

        -client -Xint passed
        -clinet -Xcomp passed
        -server -Xint passed
        -server -Xcomp failed

        Failing Test:
        =============
        api/javax_swing/JTable/index.html#sizeColumnsToFit

        JCK :
        =====
        JCK13a

        Test source location:
        ====================

        /net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/javax_swing/JTable/sizeColumnsToFitTests.java



        Platforms:
        =============
        Solaris 8 sparc (4m)


        JDK, switches Info:
        ===================

        java version "1.3.1-rc1"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-rc1-b19)
        Java HotSpot(TM) Server VM (build 1.3.1-rc1-b19, compiled mode)

        -server -Xcomp

        jtr file location:
        ==================
        file:/net/jtg-s212/export/home/jtg-test/JH_JDK131_b17_JCK13a_c1Xcomp/workDir/api/javax_swing/JTable/index_sizeColumnsToFit.jtr

        jtr also attached.


        How to reproduce:
        ====================
        Run the attached script
          
          sizeColumns.ksh -server -Xcomp

        Test output:
        =============
        JTable2026: Failed. Method works incorrectly
        JTable2027: Failed. Method works incorrectly
        JTable2028: Passed. OKAY
        JTable2029: Failed. Method works incorrectly
        JTable2030: Failed. Method works incorrectly
        JTable2031: Failed. Method works incorrectly
        JTable2033: Failed. Method works incorrectly
        ====== JTable2026 ====== public void sizeColumnsToFit(boolean resizeLastColumn)
        100 != 13.333333333333334
        j=0 i=0 delta=-6.666666666666666 DELTA=-100.0
        ====== JTable2027 ====== public void sizeColumnsToFit(int resizingColumn)
        100 != 13.333333333333334
        j=0 i=0 delta=-6.666666666666666 DELTA=-100.0
        ====== JTable2028 ====== public void sizeColumnsToFit(int resizingColumn)
        100 != 40.0
        j=0 i=0 delta=20.0 DELTA=100.0
        100 != 40.0
        j=1 i=0 delta=20.0 DELTA=100.0
        100 != 40.0
        j=2 i=0 delta=20.0 DELTA=100.0
        10 != 40.0
        j=3 i=0 delta=20.0 DELTA=100.0
        10 != 40.0
        j=4 i=0 delta=20.0 DELTA=100.0
        100 != 80.0
        j=0 i=2 delta=60.0 DELTA=300.0
        100 != 80.0
        j=1 i=2 delta=60.0 DELTA=300.0
        100 != 80.0
        j=2 i=2 delta=60.0 DELTA=300.0
        10 != 80.0
        j=3 i=2 delta=60.0 DELTA=300.0
        10 != 80.0
        j=4 i=2 delta=60.0 DELTA=300.0
        100 != 60.0
        j=0 i=3 delta=40.0 DELTA=200.0
        100 != 60.0
        j=1 i=3 delta=40.0 DELTA=200.0
        100 != 60.0
        j=2 i=3 delta=40.0 DELTA=200.0
        10 != 60.0
        j=3 i=3 delta=40.0 DELTA=200.0
        10 != 60.0
        j=4 i=3 delta=40.0 DELTA=200.0
        100 != 30.0
        j=0 i=4 delta=10.0 DELTA=50.0
        100 != 30.0
        j=1 i=4 delta=10.0 DELTA=50.0
        100 != 30.0
        j=2 i=4 delta=10.0 DELTA=50.0
        10 != 30.0
        j=3 i=4 delta=10.0 DELTA=50.0
        10 != 30.0
        j=4 i=4 delta=10.0 DELTA=50.0
        ====== JTable2029 ====== public void sizeColumnsToFit(int resizingColumn)
        100 != 75.0
        j=1 i=0 delta=55.0 DELTA=220.0
        ====== JTable2030 ====== public void sizeColumnsToFit(int resizingColumn)
        80 != 20
         i=0 j=1
        ====== JTable2031 ====== public void sizeColumnsToFit(int resizingColumn)
        80 != 50
         i=0 j=4
        ====== JTable2033 ====== public void doLayout()
        100 != 13.333333333333334
        j=0 i=0 delta=-6.666666666666666 DELTA=-100.0
        STATUS:Failed.tests: 7; passed: 1; failed: 6; first test case failure: JTable2026


        Specific Machine Info:
        =====================
        Hostname: jtg-s212
        Hostid: 807cc3e2
        Release: 5.8
        Kernel architecture: sun4m
        Application architecture: sparc
        Hardware provider: Sun_Microsystems
        Domain: javasoft.eng.sun.com
        Kernel version: SunOS 5.8 Generic February 2000
        ===========
        Status of processor 0 as of: 03/14/01 12:15:11
          Processor has been on-line since 03/08/01 09:20:49.
          The sparc processor operates at 110 MHz,
                and has a sparc floating point processor.
        ===========
                                   Solaris 8 s28_38shwp2 SPARC
                   Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
                                    Assembled 21 January 2000



        Additional JCK related info:
        ============================
        URL to find JCK test owners: http://javaweb.eng/jck/usr/owners.jto


        *******************************************************************************
        In addition to this description please attach the jtr file.

        takwing.cheung@Eng 2001-03-14

              cclicksunw Clifford Click (Inactive)
              tacheung Tak Wing Cheung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: