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
When calling a default method on interface using @RegisterRestClient the default method is not invoked; instead I get an error saying
Could not find a method for: public default java.util.concurrent.CompletionStage io.foo.Bar.getFoo(java.lang.String)
Refactoring the code to use static methods on the interface works but is not that convenient.
Expected behavior
The default method (actually decorating the call to another interface's method) is invoked and it will call the actual method, executing the REST request.
Describe the bug
When calling a default method on interface using
@RegisterRestClient
the default method is not invoked; instead I get an error sayingRefactoring the code to use static methods on the interface works but is not that convenient.
Expected behavior
The default method (actually decorating the call to another interface's method) is invoked and it will call the actual method, executing the REST request.
Actual behavior
An error is thrown.
How to Reproduce?
Output of
uname -a
orver
No response
Output of
java -version
openjdk version "11.0.9" 2020-10-20
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.1.0
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: