-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Feignx replicates the same issue that exits in regular Feign, it uses methods for reflection that are no longer valid in JDK 9+. These must be addressed before later JDK version remove the warning and make them an error.
To Reproduce
Steps to reproduce the behavior:
- Create a new Feign Interface that uses a
default
method - Run the application on JDK 9+
- Observe the following error:
Illegal reflective access by feign.proxy.GuardMethodHandler (file:...) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class)
Expected behavior
That on JDK 9+ this error doesn't occur
Environment (please complete the following information):
- JDK Version [9+]
Additional context
Since Feignx does not support JDK versions prior to 11, we can safely change to the updated method for obtaining this information.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working