-
Notifications
You must be signed in to change notification settings - Fork 367
Jersey 3.1.9: java.lang.NoSuchMethodException: jakarta.inject.Inject.value() #5782 #5784
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
Conversation
…value() eclipse-ee4j#5782 Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com>
|
@jbescos I assume this is better performance-wise since the try-catch clause is slow in general. On the other hand, this code tests all the methods and iterates through them. I expect only a very limited number of methods and hence a speedup, but...have you tried to test the performance a bit with this (I do not mean a Jersey test of any kind, more a loop of numerous operations checking for the "value")? The code around the parameter class is utilized quite often in the runtime and can have a measurable impact. |
|
I am running it, and I am surprised that the Till this point, it looks better to use However, if exception is thrown because there is no such method, |
#5782