Closed 4s1 closed 5 years ago
I fixed your mentioned issues.
Anyway, the generated ObjectManager, Properties and Peer interface are not required. These are default interfaces which all DBus compatible objects have to implement, so the mentioned interfaces are already included in dbus-java library.
@hypfvieh I am running into this issue. Where is the proper place to download the updated jar? Maven central still has only 3.0.2
There is no new release yet. If you need the updated version, you have clone this repo and build it yourself
Ok Thanks!
InterfaceCodeGenerator (3.0.2) creates invalid interfaces
Mappings for advanced data types: i.e.
a{sv}
gets mapped asMap<CharSequence>
which is not valid for a Map as it requres two type identifiers.This is what I get from
org.freedesktop.UDisks2
/org/freedesktop/UDisks2
Oh, and by the way, aren't those private final fields to be initialized (by a constructor)?
https://github.com/hypfvieh/dbus-java/blob/3158c47400009349fa653bcd31a18ec13cfe8b44/dbus-java-utils/src/main/java/org/freedesktop/dbus/utils/generator/TypeConverter.java#L203