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

JavaTest GUI not consistently unusable in JDK-1.2fcs-K

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.2.0
    • 1.2.0
    • client-libs
    • None
    • 2d
    • 1.2fcs
    • generic
    • solaris_2.5.1, solaris_2.6
    • Verified

      This is a showstopper bug.

      When JavaTest2.0 (JT) is started, it does not display the toolbar, labels are
      missing, mouse events are not detected, refresh does not occur if the window has
      been obscured, and resize does not trigger a refresh. Startup is noticeably
      slower.

      This behaviour has been observed in the following releases of JT:
      "ze" (Sep 22), "zd" (Sep 14), and "w" (Aug 22).

      At this time, we have been unable to trigger this problem in JDK-1.2fcs-J. The
      problem does not appear in JDK1.1.6N or JDK1.1.7M.

      In JDK-1.2fcs-K the problem appears consistently on Solaris 2.5.1 (Ultra1,
      Ultra1 Creator 3D, Sparc20) and intermittently on Solaris 2.6. In 2.6, a resize
      event may trigger the bug.

      The use of green vs. native threads does not change the behaviour.

      On a Ultra1, Solaris 2.5.1, the problem disappears if the heap size/limit is
      increased from -mx10m to -ms64m and -mx64m. Unclear at this time whether this
      will work for all Solaris.

      This has not yet been tested on Windows.

      STEPS TO REPRODUCE:

      Run the following shell-script.

      For JDK1.2fcs-J:
      $ showbug -12J

      For JDK1.2fcs-K:
      $ showbug -12K


      FILE: showbug

      #!/bin/ksh -p

      die() {
        echo "$*" 1>&2
        exit 1
      }
      OS=`uname -s`
      case "$OS" in
        SunOS )
          NULL=/dev/null
          PATHSEP=":"
          FILESEP="/"
          ;;
        Windows_95 | Windows_98 | Windows_NT )
          NULL=NUL
          PATHSEP=";"
          FILESEP="\\"
          #FILESEP='\'
          ;;
        * )
          echo "Unrecognized system!"
          exit 1;
          ;;
      esac

      set -x

      case "$1" in
        -12J )
          JAVA_HOME=/usr/local/java/jdk1.2bak/solaris ;;
        -12K )
          JAVA_HOME=/usr/local/java/jdk1.2/solaris ;;
        -116 )
          JAVA_HOME=/usr/local/java/jdk1.1.6/solaris ;;
        -117 )
          JAVA_HOME=/usr/local/java/jdk1.1.7/solaris ;;
        * )
          die "Unknown version of JDK" ;;
      esac
      shift

      export CLASSPATH=/usr/local/java/sqe-tools2.0/javatest.jar

      ${JAVA_HOME}${FILESEP}bin${FILESEP}java javasoft.sqe.javatest.tool.Main "$@"

      -------
      rick.reynaga@eng 1998-09-27

      This bug seems to be more severe with the FCS-L build. On several Solaris systems (2.6, 2.5.1, 2.7beta), and x86 it has ocured every time.

      -------

            jwarzech Joe Warzecha (Inactive)
            iris Iris Clark
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: