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
If I "override" the method in the derived class it will work.
This also seems to be specific with having the generic type and/or a class "body" that is sent over. Using plain Map (should_run_inherited_method_with_map) works as an example.
In cases where a type variable was being used,
the declared type was not being set the type bound,
but to the actual resolved type.
This caused problems when a resource method was being
looked up reflectively.
Fixes: quarkusio#20008
In cases where a type variable was being used,
the declared type was not being set the type bound,
but to the actual resolved type.
This caused problems when a resource method was being
looked up reflectively.
Fixes: quarkusio#20008
(cherry picked from commit 97e11a1)
Describe the bug
Upgrading to 2.2.2.Final REST resources, that worked before with 2.1.4, fail upgrading to 2.2.2 with:
If I "override" the method in the derived class it will work.
This also seems to be specific with having the generic type and/or a class "body" that is sent over. Using plain Map (should_run_inherited_method_with_map) works as an example.
Replicator attached.
upgrade2.zip
Expected behavior
POST/PUT REST methods inherited from a "base" resource should be exposed/usable through a "derived" class. This worked in 2.1.4 originally.
Actual behavior
POST/PUT resource calls throws NoSuchMethodException on POST/PUT methods.
GET seems to work fine. Raw types, like Map, seems to work fine.
How to Reproduce?
Quarkus version or git rev
2.2.2.Final
The text was updated successfully, but these errors were encountered: