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

MenuBar does not work as expected

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      mantis
    • CPU:
      x86, sparc
    • OS:
      generic, windows_nt, windows_2000
    • Verification:
      Verified

      Description



      Name: icR10030 Date: 06/11/2002


      Filed By : J2SE-SQA [###@###.###
      JDK : jdk1.4.1-b14
      JCK : jck1.4-b17
      Platform[s] : Windows 2000 Prof
      switch/Mode : -client -Xmixed -Xfuture
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test : api/java_awt/interactive/MenuBarTests.html#MenuBarTests [MenuBarTest0001]

      jtr file location:
       ==================
      /net/jtgb4u4c.eng/export/sail15/results/hopper/b14/jck14/win32/win2000_client_linux-2/workDir/api-interactive/java_awt/interactive/MenuBarTests_MenuBarTests.jtr

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java//jck1.4/JCK-runtime-14/tests//api/java_awt/interactive/MenuBarTests.java

      How to reproduce:
      ============
      1. Run the script specified below.
         You probably have to change JCK and JAVA_HOME variables.
      2. Set font size to 48 and add menu.
      3. Now move cursor over or click new menu.
      4. Menu's text will be drawn outside menubar(over caption and etc.) - testcase fails.

      --------Script START---------------------
      #!/bin/sh

      export JCK=d:/jck1.4/JCK-runtime-14/
      export JAVA_HOME=d:/jdk1.4.1
      export testURL="$JCK/tests/api/java_awt/interactive/MenuBarTests.html#MenuBarTests"
      export OPTIONS="-client -Xmixed -Xfuture"
      export testExecuteClass="javasoft.sqe.tests.api.java.awt.interactive.MenuBarTests"
      export testExecuteArgs="-TestCaseID MenuBarTest0001"

      $JAVA_HOME/bin/java $OPTIONS -cp $JCK/classes -Djava.security.policy=$JCK/lib/jck.policy -Djava.security.auth.policy=$JCK/lib/java.auth.policy -Djava.security.auth.login.config=$JCK/lib/java.login.config $testExecuteClass $testExecuteArgs
      --------Script END---------------------

      Test output:
      ============
      MenuTest0001: Failed.MenuBar test does NOT work as expected.
      STATUS:Failed.tests: 1; failed: 1; first test case failure:MenuBarTest0001

      Specific Machine Info:
      ======================
      Os: Windows 2000 Prof
      Hostname: linux-2


      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bchristi Brent Christian
              Reporter:
              ichesunw Iche Iche (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: