-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A Tuple returned by an exported DBusInterface can't be cast to ParameterizedType #271
Comments
This issue should be fixed in the latest commit. Using any |
Thanks a lot, that was quick!! Until the release of the fix, do you know how I could integrate your latest changes in my maven project? |
I only know two options:
Variant 1 is more hacky. It requires you to ensure that your artifact is listed before dbus-java in your class path otherwise the patched class will not be loaded. Variant 2 is the more convenient one, but depends on your project policy. If your policy (or your companies policy) is to never use snapshots or pre-releases (alpha or beta versions), you may not use the snapshot. |
(I'm sorry for being offtopic but I don't know where I can ask you this, I can delete my message afterwards) I do not see any snapshot of yours on Maven Central though, could you help me with a link maybe? |
Maven will not use the official snapshot repository by default. You have to enable it either in your Maven settings.xml or in the pom of your project. |
Again, thanks a lot for your time! I'll be using the SNAPSHOT until the release because your fix works perfectly! I will close the issue, thank you for being so reactive, please have a great day |
Having a DBusInterface that contain multiple fields, generated automatically, like this :
And in the generated Tuple:
When I try to export it:
I have the following error:
I do not have the problem when the GetDetailsTuple extends from a Struct.
The text was updated successfully, but these errors were encountered: