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
This code will end in an AssertionError cause the concerte implementation never gets called.
Expected behavior
Interface methods with default implementation are still override by the container to forwarding calls from one decorator to another till the concrete implementation of the type.
Actual behavior
Calls to interface methods with default implementation are not forwarded by the container from the first decorator to the second decorator or the actual implementation.
Describe the bug
Found a tricky bug while using CDI Decorators based on an interface that has methods with default implementations.
Example:
This code will end in an AssertionError cause the concerte implementation never gets called.
Expected behavior
Interface methods with default implementation are still override by the container to forwarding calls from one decorator to another till the concrete implementation of the type.
Actual behavior
Calls to interface methods with default implementation are not forwarded by the container from the first decorator to the second decorator or the actual implementation.
How to Reproduce?
Reproducer:
reproducer-decorator-default-impl.zip
Run
mvn clean install
after unzip.Output of
uname -a
orver
6.2.0 Ubuntu
Output of
java -version
20.0.2
GraalVM version (if different from Java)
23.0.1
Quarkus version or git rev
3.3.1
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.4
Additional information
No response
The text was updated successfully, but these errors were encountered: