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

The Checkbox can't work properly

XMLWordPrintable

    • b122
    • generic
    • linux_ubuntu

      Testsuite name: Awt Regression
      Test name(s): closed/java/awt/CheckboxMenuItem/CheckboxMenuItemEventsTest/CheckboxMenuItemEventsTest.html
      Product(s) tested: JDK9b121(64bit)
      OS/architecture: Ubuntu16.04-x64/Jtreg4.2b02

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

      Is it a Regression:
      [If Regression] Regression introduced in release/build:
      Test result on the last GAed release for this train:
      [if Fail] Test result on FCS:

      Is it a platform specific issue:
      [If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing:
      [If new configuration testing] Issue specific to execution mode or OS/browser version:



      Case Instruction:
      Press button to invoke popup menu When you press checkbox menu item.Item state should toggle (on/off),ItemEvent should displayed in log below.And ActionEvent should not be displayed
      Press PASS if ItemEvents are generated and ActionEvents are not, FAIL Otherwise
       
      Actual behavior:
      1.For this case the Checkbox can't work properly.Clicking the Checkbox there is "ERROR:ActionEvent fired" displayed in the message window,refer to checkbox.jpg.

      2.For case:closed/java/awt/Frame/MenuCrash/MenuCrash.html,
      The Checkbox can't work properly.Open the Menu Number 1 in Frame1,then click Item3,the checkbox will not deselect and the connents of text field changed like Frame2 test filed,refer to MenuCrash.jpg.

      3.For case:closed/java/awt/Menu/OnFlyRepaintMenuTest/OnFlyRepaintMenuTest.html,
      The Checkbox can't work properly,Click the button "Change state",then click Enabled menu click the second menuItem,the checkbox will not deselect,refer to RepaintMenu.jpg

        1. checkbox.jpg
          checkbox.jpg
          60 kB
        2. RepaintMenu.jpg
          RepaintMenu.jpg
          65 kB
        3. MenuCrash.jpg
          MenuCrash.jpg
          105 kB

            aghaisas Ajit Ghaisas
            michaelw Michael Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: