NetworkManager.ActivateConnection and java-dbus

Will Thompson will.thompson at collabora.co.uk
Mon Apr 29 07:31:16 PDT 2013


On 29/04/13 13:23, Matthew Johnson wrote:
> On Thu Apr 25 20:43, Vladimir Prus wrote:
>>
>>       - DBusInterface cannot be created for object path of "/"
>
> Well, I don't think "/" is actually a valid path. I _think_
> http://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-marshaling-object-path
> implies that you must always have at least one element of at least one
> character, but maybe I'm wrong.

"/" is a valid path. The last bullet point behind your link is:

• A trailing '/' character is not allowed unless the path is the root 
path (a single '/' character).

which implicitly acknowledges that "/" is a valid path. (4 out of 5 
D-Bus implementations we surveyed agreed!)

-- 
Will


More information about the dbus mailing list