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

JCK13a api/java_awt/serialization/descriptions.html#ScrollPane #CardLayout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • None
    • 1.4.0
    • core-libs
    • None

      JDK : 1.4.0-beta-b57
      JCK : jck1.3a
      Platform[s] : Sparc, Solaris X86, win2000, winME
      switch/Mode :-client -Xint
      JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
      Failing Tests :

      1) api/java_awt/serialization/descriptions.html#CardLayout
      2) api/java_awt/serialization/descriptions.html#ScrollPane

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_awt/serialization/CardLayoutTests.java

      /net/jdk/export/disk8/local.java/jck1.3a/JCK-runtime-13a/tests/api/java_awt/serialization/ScrollPaneTests.java

      jtr file location:
      ==================

      file:///net/jtgb4u4c/export/sail16/results/merlin/b57/jck13a/i386/s8_client_jtg-i108/workDir/api/java_awt/serialization/descriptions_CardLayout.jtr

      file:///net/jtgb4u4c/export/sail16/results/merlin/b57/jck13a/i386/s8_client_jtg-i108/workDir/api/java_awt/serialization/descriptions_ScrollPane.jtr


      jtr files also attached.


      How to reproduce:
      ====================
      Run the attached script.
          awt_serialization_CardLayout.ksh

      --------Script START---------------------
      #!/bin/ksh
      SWITCH=${1+$@}
      JDK=/net/jdk/export/disk8/local.java/jdk1.4
      TESTBASE=/net/jdk/export/disk8/local.java/jck1.3a
      JCK=${TESTBASE}/JCK-runtime-13a
      executeClass=javasoft.sqe.tests.api.java.awt.serialization.CardLayoutTests
      excludeCmd=
      executeClassArgs=
      executeTestURL="-TestURL file:///net/jtgb4u4c.eng/export/sail16/JCK/jck13afcs/JCK-runtime-13a/tests/api/java_awt/serialization/descriptions.html#CardLayout -FileName cardlyut.ser"
      headless=false
      #executeContextArgs is used for vm testing.
      executeContextArgs=
      case `uname -s` in
        SunOS)
         ARCH=`uname -p`
         case $ARCH in
          sparc)
            sharedJDK=$JDK/solsparc
            ;;
          i386)
            sharedJDK=$JDK/solx86
            ;;
         esac
         ;;
        Linux)
         sharedJDK=$JDK/linux-i386
         ARCH=linux
         ;;
      esac
      CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
      DISPLAY=${DISPLAY-$HOST:0.0}
      if `echo $SWITCH|grep "\-d64" >/dev/null`; then
        LD_LIBRARY_PATH=${JCK}/lib/sparcv9
      else
        LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
      fi
      PATH=$JDK/bin:$sharedJDK/bin:$PATH

      export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH


      echo
      java ${SWITCH} -version
      echo
      java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy -Djava.rmi.activation.port=${executeClass} -Djava.awt.headless=${headless} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}

      --------Script END----------------------

      Test output:
      =============
      testRead: Failed. Special test, expected: java.awt.CardLayout[hgap=10,vgap=10], received: java.awt.CardLayout[hgap=0,vgap=0]
      testWrite: Passed. OKAY
      STATUS:Failed.tests: 2; passed: 1; failed: 1; first test case failure: testRead



      Specific Machine Info:
      =====================
      For Solaris[sparc/x86] ->

      sparc
       SunOS jtg-s112 5.8 Generic_108528-01 sun4u sparc SUNW,Ultra-2

      intel
        
        SunOS jtg-i108 5.8 Generic i86pc i386 i86pc




      takwing.cheung@Eng 2001-03-29

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: