RFR: 8193547: Regression automated test '/open/test/jdk/java/awt/Toolkit/DesktopProperties/rfe4758438.java' fails [v2]

Alexander Zvegintsev azvegint at openjdk.org
Mon Dec 12 12:13:49 UTC 2022


> This test has multiple issues:
> 
> * Test actually does nothing and passes as it is right now, but tests nothing
> * `pgrep gnome-session` may return multiple PIDs -> picking up only first one 
> * looks like jtreg does not pass GNOME_DESKTOP_SESSION_ID variable(it is deprecated, BTW), so used `XDG_CURRENT_DESKTOP` instead
> * removed leftovers from Solaris support
> * `org.gnome.settings-daemon.peripherals.mouse` is [deprecated](https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/blob/master/data/org.gnome.settings-daemon.peripherals.gschema.xml.in#L46) and does not work on latest systems  <br> but newer `org.gnome.desktop.peripherals.mouse` works as expected<br>So the test modified to try new one and to check deprecated as a fallback
> 
> CI testing looks good.

Alexander Zvegintsev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:

 - Merge master
 - fix access rights
 - initial

-------------

Changes: https://git.openjdk.org/jdk/pull/11127/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11127&range=01
  Stats: 125 lines in 3 files changed: 72 ins; 22 del; 31 mod
  Patch: https://git.openjdk.org/jdk/pull/11127.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11127/head:pull/11127

PR: https://git.openjdk.org/jdk/pull/11127



More information about the client-libs-dev mailing list