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

JDK_1.3.b01/x86: Non-resizable attribute gets resizable behavior in Openwin env.

XMLWordPrintable

    • 1.3
    • x86
    • solaris_8

      JDK-runtime-13rc1/tests/api/java_awt/interactive/FrameTests.html#FrameTests jck_
      execute_positive FrameTests_FrameTests fails in openwin environment.

      the non-resizable attribute is resizable in openwin environment (frametest 0002 and frametest 0004).
      Please note: the non-resizable attribute can be resized only once, then it will become non-resizable attribute.

      I used the following script to run the test.
      Start the test using the script and try to resize the attribute (frametest 0002 and frametest 0004). In the display it says it is non-resizable. But attribute can be resized very first time. If you try to resize it again, it shrinks to its original size and becomes non-resizable.

      bkante@jtg-i113$ /usr/java1.3/bin/java -fullversion
      java full version "katleman.2000.02.08.15.58"

      bkante@jtg-i113$ FrameTests_FrameTests.ksh
      #!/bin/ksh

      PATH=/usr/java1.3/bin:/bin
      DISPLAY=jtg-i113:0.0
      CLASSPATH=/export/home/jtg-test/tonga_1.3.b01/hotspot/jtg-i113/JCK-runtime-13rc1.api.interact
      ive/bkante.Solaris.x86/FrameTests_FrameTests:/net/ultraowl.eng/export/ultraowl1/javatb/testba
      se/src/JCK-runtime-13rc1/classes:/net/ultraowl.eng/export/ultraowl1/javatb/testbase/src/JCK-r
      untime-13rc1/javatest.jar
      LD_LIBRARY_PATH=/net/ultraowl.eng/export/ultraowl1/javatb/testbase/src/JCK-runtime-13rc1/lib/
      intel

      while [ $# -gt 0 ];
      do
        if [ $1 = "-jdk" ]; then
          shift 1
          PATH=${1}/bin:${PATH}
          shift 1
        else
          if [ $1 = "-d" ]; then
            shift 1
            if [ $# -gt 0 ]; then
              DISPLAY=$1
              shift 1
            else
              DISPLAY=:0.0
            fi
          fi
        fi
      done

      export PATH
      export DISPLAY
      export CLASSPATH
      export LD_LIBRARY_PATH
      #export JAVA_COMPILER none
      /usr/java1.3/bin/java -hotspot -Djava.security.policy=/net/ultraowl.eng/export/ultraowl1/javat
      b/testbase/src/JCK-runtime-13rc1/lib/jck.policy -Xfuture javasoft.sqe.tests.api.java.awt.int
      eractive.Frame.FrameTests -TestCaseID ALL
      ##Exit status of execution step=97

      #args decoded
      #STATUS:Failed.tests: 4; passed: 2; failed: 2; first test case failure: FrameTest0002
      #FrameTest0001: Passed. Frame with non-resizable attribute cannot be resized.
      #FrameTest0002: Failed. Frame test does NOT work as expected. It is resizable in both cases
      #FrameTest0003: Passed. OKAY
      #FrameTest0004: Failed. Frame test does NOT work as expected. The non-resizable frame can be
      resized

            dassunw Das Das (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: