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

JCK15:api/java_awt/interactive/MenuBarTests.html#MenuBarTests MenuBarTest0001 failed, rhas3, mustang

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 6
    • Fix Version/s: 6
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux_redhat_3.0

      Description

      JCK : jck1.5
      J2SE : FAIL - b12
      Platform[s] : FAIL - rhas3.0
                       PASS - Solaris
      switch/Mode : Default
      JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto

      Failing Tests :
      api/java_awt/interactive/MenuBarTests.html#MenuBarTests
      MenuBarTest0001 failed: inconsistent position of Help menu in the menubar

      NOTE: attached screen shots of new help menu added in the menubar on solaris (solaris.jpg) and rhas3 (rhas3.jpg) for comparison.

      This test shows that new menu is added from left to right sequence in the menubar.
      On Solaris, it seems help menu is added next to the last menu added in the menu bar.
      On rhas, help menu is added as the first one at the right-most location in the menu bar apart from other menus.


      Test source location:
      =====================
      /net/jtgb4u4c.sfbay/export/sail1/testarea/jck1.5.b28/JCK-runtime-15/tests/api/java_awt/interactive/MenuBarTests.java

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

      How to reproduce:
      ====================
      Use below script to launch the test.
      Add a new help menu in the test

      -------script START---------------------

      #!/bin/sh

      #JDK="/net/koori/onestop/jdk/1.6.0/promoted/all/b12/binaries/solaris-sparc"
      JDK="/net/koori/onestop/jdk/1.6.0/promoted/all/b12/binaries/linux-i586"

      JCK="/net/koori/onestop/jck/1.5/latest/binaries/JCK-runtime-15"

      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"

      TEST="javasoft.sqe.tests.api.java.awt.interactive.MenuBarTests -TestCaseID ALL"

      POLICY="-Djava.security.policy=$JCK/lib/jck.policy"
      echo `cat $JCK/build.txt | grep JCK_VERSION` `cat $JCK/build.txt | grep JCK_BUILD`

      $JDK/bin/java -showversion -cp $CLASSPATH $POLICY $TEST

      --------script END----------------------

      Test output:
      =============
      On Solaris, it seems help menu is added next to the last menu added in the menu bar.
      On rhas, help menu is added as the first one at the right-most location in the menu bar apart from other menus.


      Specific Machine Info:
      =====================
      Red Hat Enterprise Linux AS release 3 (Taroon Update 3)
      Kernel 2.4.21-19.EL on an i686
      circuslv:~> uname -a
      Linux circuslv 2.4.21-19.EL #1 Thu Aug 12 23:31:56 EDT 2004 i686 i686 i386 GNU/Linux
      ###@###.### 2004-11-17 01:07:37 GMT

        Attachments

          Activity

            People

            • Assignee:
              vbaranovsunw Vyacheslav Baranov (Inactive)
              Reporter:
              jsongsunw Joo Song (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: