Skip to content
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

Resteasy Reactive: Fix native mode when using Files #26002

Closed
wants to merge 1 commit into from

Commits on Jun 8, 2022

  1. Resteasy Reactive: Fix native mode when using Files

    When having the following resource:
    
    ```java
    @post
        @consumes(MediaType.APPLICATION_OCTET_STREAM)
        public String update(File file) {
          // ..
        }
    ```
    
    This works fine when running on JVM, but not in Native where fails with a NoSuchMethodException exception.
    
    To fix this issue, I've registered all the resource classes (the ones annotated with `@ApplicationPath` and `@Path`) for reflection usage. 
    
    In addition to this change:
    - I removed some unused methods and fields from the resteasy reactive processor
    - I added some coverage of the getting started resteasy reactive client (I also reproduced this issue in this test).
    
    Fix quarkusio#25973
    Sgitario committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    cad1e37 View commit details
    Browse the repository at this point in the history