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

jck13: api/java_awt/MediaTracker/index.html#WaitImage

XMLWordPrintable

    • beta
    • x86, sparc
    • generic, solaris_8
    • Verified

        The following test failed on JDK 1.3.1 b10 when -server -Xcomp switch was used.
        It looks the retrun values from the methoeds (waitForAll,checkAll,statusAll) of MediaTracker class are not correct.

        Failed on sol sparc and intel.

        This test passed on JDK1.3

        To reproduce it:
        ================
           Run the attached script:
             WaitImageTests.ksh -server -Xcomp
               (You may need to modify JDK to point to your JDK on your system)
           Also, there is cut-down version of the java program you can run.
             WaitImageTests-all.ksh WaitImageTests -server -Xcomp
               (You need to include the JDK path to the enviroment variable PATH)

          Output from the script:
          --------
          java version "1.3.1beta"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1beta-b10)
        Java HotSpot(TM) Server VM (build 1.3.1beta-b10, compiled mode)

        MediaTracker2008: Passed. OKAY
        MediaTracker2009: Passed. OKAY
        MediaTracker2010: Failed. MediaTracker2010 failed
        MediaTracker0014: Failed. MediaTracker0014 failed
        MediaTracker2011: Failed. MediaTracker2011 failed
        MediaTracker2013: Passed. OKAY
        MediaTracker0015: Passed. OKAY
        MediaTracker0016: Passed. OKAY
        MediaTracker0017: Passed. OKAY
        MediaTracker2014: Failed. MediaTracker2014 failed
        MediaTracker0018: Failed. MediaTracker0018 failed
        MediaTracker0019: Passed. OKAY
        MediaTracker0020: Failed. MediaTracker0020 failed
        STATUS:Failed. tests: 13; passed: 7; failed: 6; first test case failure: MediaTracker2010
           

          Script:
          -------
         SWITCH=${1+$@}
        uname -np | read HOST ARCH
        JDK=/export/home/jtg-test/jdk131/b10/jdk1.3.1beta

        TESTBASE=/net/ultraowl.eng/export/ultraowl1/javatb/testbase
        JCK=${TESTBASE}/src/JCK-runtime-13fcs
        CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
        DISPLAY=${DISPLAY-$HOST:0.0}
        LD_LIBRARY_PATH=${JCK}/lib/${ARCH}

        executeClass=javasoft.sqe.tests.api.java.awt.MediaTracker.WaitImageTests
        executeTestURL="-TestURL file:/net/ultraowl.eng/export/ultraowl1/javatb/testbase/src/JCK-runtime-13fc
        s/tests/api/java_awt/MediaTracker/index.html#WaitImage"
        export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH

        echo
        $JDK/bin/java ${SWITCH} -version
        echo
        $JDK/bin/java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL} ${executeWo
        rkURL}
          




        JDK info
        =========
        java version "1.3.1beta"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1beta-b10)
        Java HotSpot(TM) Client VM (build 1.3.1beta-b10, mixed mode)

        JCK info:
        =========
          api/java_awt/MediaTracker/index.html
          javasoft.sqe.tests.api.java.awt.MediaTracker.WaitImageTest
         source location:
            /usr/local/java/jck1.3/JCK-runtime-13fcs/tests/api/java_awt/MediaTracker

        Machine info:
        ============
        Hostname: jtg-i112
        Hostid: 33d1ad3d
        Release: 5.8
        Kernel architecture: i86pc
        Application architecture: i386
        Hardware provider:
        Domain: javasoft.eng.sun.com
        Kernel version: SunOS 5.8 Generic February 2000
        ===========
        Status of processor 0 as of: 12/04/00 17:14:07
          Processor has been on-line since 11/27/00 10:02:09.
          The i386 processor operates at 450 MHz,
                and has an i387 compatible floating point processor.
        Status of processor 1 as of: 12/04/00 17:14:07
          Processor has been on-line since 11/27/00 10:02:13.
          The i386 processor operates at 450 MHz,
                and has an i387 compatible floating point processor.
        ===========
                                   Solaris 8 s28_38shwp2 INTEL
                   Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
                                    Assembled 21 January 2000


        takwing.cheung@Eng 2000-12-04

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: