← Back to team overview

openjdk team mailing list archive

Bug#836056: openjdk-8: please use dbus-run-session to run tests

 

Source: openjdk-8
Version: 8u102-b14.1-2
Severity: normal
User: dbus@xxxxxxxxxxxxxxxxxxx
Usertags: dbus-launch dbus-launch-for-tests

As described in <https://lists.debian.org/debian-devel/2016/08/msg00554.html>
I'm trying to reduce how much dbus-launch is used in Debian.
This package currently uses dbus-x11 for tests, explicitly invoking
dbus-launch if metacity is used (but not if twm is used).

OpenJDK has sufficiently "heavy" build-dependencies already that it
doesn't seem worthwhile to put effort into avoiding dbus, so the simplest
thing to do here would be to build-depend on dbus (unconditionally),
replace all "xvfb-run" invocations with "dbus-run-session -- xvfb-run",
and drop the with_wm_prefix functionality from debian/rules.

Thanks,
    S