Integrated: 8193543: Regression automated test '/open/test/jdk/java/awt/TrayIcon/SystemTrayInstance/SystemTrayInstanceTest.java' fails

2022-04-23 Thread Alexander Zvegintsev
On Thu, 21 Apr 2022 17:47:12 GMT, Alexander Zvegintsev wrote: > Looks like this test was written based on assumption that SystemTray is > supported on all platforms. > > However on Linux it may not be true. > > Availability of SystemTray is detected by getting owner of `_NET_SYSTEM_TRAY` >

Integrated: 8129827: [TEST_BUG] Test java/awt/Robot/RobotWheelTest/RobotWheelTest.java fails

2022-04-23 Thread Alexander Zvegintsev
On Tue, 19 Apr 2022 20:03:57 GMT, Alexander Zvegintsev wrote: > Test was written based on assumption that we will receive only one > `mouseWheelMoved` event with `getWheelRotation() == 20` after > `robot.mouseWheel(20)` call, but we can receive 20 events with > `getWheelRotation == 1` instea

Re: RFR: 8283624: Create an automated regression test for RFE-4390885 [v3]

2022-04-23 Thread Manukumar V S
On Wed, 20 Apr 2022 07:14:33 GMT, Manukumar V S wrote: >> Write a regression test for >> [JDK-4390885](https://bugs.openjdk.java.net/browse/JDK-4390885) Enhancement >> Request. >> >> Issue: >> Please add the ability to set the location of a JFileChooser. This might be a >> bug, but JFileChoose

Re: RFR: 8285149: Using HashMap.newHashMap to replace new HashMap(int) [v3]

2022-04-23 Thread XenoAmess
On Fri, 22 Apr 2022 23:31:41 GMT, Sergey Bylokhov wrote: >> XenoAmess has updated the pull request incrementally with one additional >> commit since the last revision: >> >> add more replaces > > src/demo/share/java2d/J2DBench/src/j2dbench/tests/text/TextTests.java line > 291: > >> 289: >>

Re: RFR: 8285149: Using HashMap.newHashMap to replace new HashMap(int) [v4]

2022-04-23 Thread XenoAmess
> These are the changes that too many to be reviewed in 8186958, thus split > some of them out. XenoAmess has updated the pull request incrementally with two additional commits since the last revision: - maintains compatibility with jdk1.4 for TextTests - fix missed space after '=' -

Re: RFR: 8273506: java Robot API did the 'm' keypress and caused /awt/event/KeyEvent/KeyCharTest/KeyCharTest.html is timing out on macOS 12 [v2]

2022-04-23 Thread Alexander Zuev
On Fri, 22 Apr 2022 23:26:02 GMT, Sergey Bylokhov wrote: > I am not sure do we need to discard the possibility to press the shortcuts > via the FN key, if the user may press them then why the robot cannot do the > same? Looks like the behavior of this key is similar to the capslock which > can