hypfvieh / dbus-java

Improved version of java DBus library provided by freedesktop.org (https://dbus.freedesktop.org/doc/dbus-java/)
https://hypfvieh.github.io/dbus-java/
MIT License
185 stars 73 forks source link

Incorrect type for 'o' from InterfaceCodeGenerator #83

Closed rm5248 closed 4 years ago

rm5248 commented 4 years ago

As seen in this SO question

Currently, InterfaceCodeGenerator maps the Dbus type of 'o' to be a DBusInterface. This actually needs to be DBusPath in order to send and receive this type.

hypfvieh commented 4 years ago

Looks like the Marshalling class is already wrong (InterfaceCodeGenerator uses the Method getJavaType to find the Java-Class for a DBus type).

If changed the resulting type in Marshalling class b6ca860. I still have to check if this causes trouble elsewhere...