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

The new menu can't be shown on the menubar after clicking the "Add" button.

    Details

    • Subcomponent:
    • Resolved In Build:
      b78
    • CPU:
      generic
    • OS:
      windows

      Backports

        Description

        Testsuite name:JCK manual
        Test name:api/java_awt/interactive/MenuBarTests.html#MenuBarTests
        Product tested: JDK 9 b71(32bit)
        OS/architecture:win2012-x64
         
        Error log file:http://scaaa008.us.oracle.com:9502/runs/00993/993175.ManualSubmit/993175.ManualSubmit-1/workDir/api/java_awt/interactive/MenuBarTests_MenuBarTests.jtr

        Reproducible: Always
        Reproducible on machine: Evergreen-machine
        [If Sometimes] Also reproducible on machine:

        Is it a Regression: Yes
        [If Regression] Regression introduced in release/build:JDK9b68(32bit) Failed,but JDK9b67(32bit) on same platform Passed.
        Test result on the last GAed release for this train:
        [if Fail] Test result on FCS:

        Is it a platform specific issue:Yes
         (same build on win7-p1-x86 Failed,
         same build on oel6.4-x86 Passed,
         same build(64bit) on mac10.9-x64 Passed on this issue,but failed as INTJDK-7619979,
         same build(64bit) on solaris11.2-x64 Passed,
         same build(64bit) on solaris11-sparc Passed)
        Is it a new (previously unsupported) OS/browser/mode testing: No
        [If new configuration testing] Issue specific to execution mode or OS/browser version:


        Steps to reproduce:
        1. Install test bundle jdk9b71 from http://jre.us.oracle.com/java/re/jdk/9/promoted/all/b71/bundles/windows-x64/jdk-9-ea-windows-x64.exe to C:/Java/jdk1.9.0
        2. Download the JCK-runtime-9.jar from http://jre.us.oracle.com/java/re/jck/9/promoted/latest/bundles/ to C:/jck/ and use C:/Java/jdk1.9.0/bin/java -jar JCK-runtime-9.jar to unzip it
        3.Run the following command:
        C:/java/jdk1.9.0/bin/java -showversion -cp C:/jck/JCK-runtime-9/classes;C:/java/jdk1.9.0/ -Djava.security.policy=C:\jck\JCK-runtime-9\lib\jck.policy javasoft.sqe.tests.api.java.awt.interactive.MenuBarTests -TestCaseID ALL

        Descriptions:
        Please use "Change Font" to change the font of the new menu to be added to the menubar.Some platforms may not support setting of all font attributes of a menu component. In this case, pressing the "Change Font" button should have no effect on the menu font. The "Add" operation should perform the appending of a new menu to the menubar. If the "setHelpMenu" checkbox is selected, the add operation should replace the current Help menu (if it exists) with a new Help menu. Please verify that the menubar and the Status area change accordingly.Does the menubar behave as specified above?

        Actual behavior:
        1.When the case launching,pressing the "Add" button,the new menu can't be shown on the menubar,but the status shows that "Menu has been added."refer to MenuBarTest.jpg.
        2.Resizing the test frame or clicking other place,the menu shows on the menubar.refer to MenuBarTest1.jpg.

        Validation:
        JDK9b67(32bit) on same platform Passed.
        JDK9b68(32bit) on same platform Failed.

          Issue Links

            Activity

            Hide
            tolli Tony Li (Inactive) added a comment -
            RULE api/java_awt/interactive/MenuBarTests_MenuBarTests any any
            Show
            tolli Tony Li (Inactive) added a comment - RULE api/java_awt/interactive/MenuBarTests_MenuBarTests any any
            Hide
            vaibhav Vaibhav Choudhary added a comment -
            Looks like a regression caused because of JDK-7155957.
            Show
            vaibhav Vaibhav Choudhary added a comment - Looks like a regression caused because of JDK-7155957 .
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/22054d298dff
            User: ssadetsky
            Date: 2015-07-28 17:40:07 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/22054d298dff User: ssadetsky Date: 2015-07-28 17:40:07 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/22054d298dff
            User: lana
            Date: 2015-08-19 22:04:45 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/22054d298dff User: lana Date: 2015-08-19 22:04:45 +0000
            Hide
            tolli Tony Li (Inactive) added a comment -
            We test JDK9b78(32bit) on win8.1-x86,the issue has been fixed succefully.
            Show
            tolli Tony Li (Inactive) added a comment - We test JDK9b78(32bit) on win8.1-x86,the issue has been fixed succefully.

              People

              • Assignee:
                ssadetsky Semyon Sadetsky
                Reporter:
                tolli Tony Li (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: