You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version and vendor of the java virtual machine: Open JDK 11.0.2
Operating System: Windows 10
System architecture (CPU type, bitness of the JVM)
Complete description of the problem:
I have an interface with default methods beside the @ComProperty / @ComMethod methods, but the calls to the default methods are redirected to COM.
In my mind the issue is related to th implementation in com.sun.jna.platform.win32.COM.util.ProxyObject#invoke.
There is a checks if the method is declared inside some defined classes and not annotated with @ComProperty / @ComMethod.
It might be enought to check if the method is not annotated with @ComProperty / @ComMethod to decide wether to redirect or not?
Another option might be to define a e.g. @ComIgnore annotation to explicit define the method should not be redirected.
Steps to reproduce
create a COM binding interface, define a default method and try to call the default method.
Kind regards
Jörg
The text was updated successfully, but these errors were encountered:
I have an interface with default methods beside the @ComProperty / @ComMethod methods, but the calls to the default methods are redirected to COM.
In my mind the issue is related to th implementation in com.sun.jna.platform.win32.COM.util.ProxyObject#invoke.
There is a checks if the method is declared inside some defined classes and not annotated with @ComProperty / @ComMethod.
It might be enought to check if the method is not annotated with @ComProperty / @ComMethod to decide wether to redirect or not?
Another option might be to define a e.g. @ComIgnore annotation to explicit define the method should not be redirected.
create a COM binding interface, define a default method and try to call the default method.
Kind regards
Jörg
The text was updated successfully, but these errors were encountered: