JDK-8159143 : The Checkbox can't work properly
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_ubuntu
  • CPU: generic
  • Submitted: 2016-06-07
  • Updated: 2016-06-10
  • Resolved: 2016-06-10
Related Reports
Duplicate :  
Description
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
Comments
RULE "closed/java/awt/CheckboxMenuItem/CheckboxMenuItemEventsTest/CheckboxMenuItemEventsTest" any any RULE "closed/java/awt/Frame/MenuCrash/MenuCrash" any any RULE "closed/java/awt/Menu/OnFlyRepaintMenuTest/OnFlyRepaintMenuTest" any any
07-06-2016