-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Illegal reflective access operation warning when using java.lang.Void
as value type
#2197
Comments
This forms part of FasterXML/jackson-core#499 |
Alright, I close the issue then. This was fast :) |
It probably also makes sense to add explicit handling for (nominal) type |
Hmm, This also definitely justifies open modules until version 3. java.lang is part of the java.base module, But it is also strictly named.
this does a few things but I'm only going to highlight the features,
|
Enforce JDK 6 for Annotations and DataBinding Clean the module pathing OSS-Parent Update for plugin management Exclude moditect from plugin version check FasterXML/jackson-annotations#145 FasterXML/jackson-core#499 FasterXML/jackson-databind#2197
java.lang.Void
as value type
Ok: as an orthogonal thing, I added handling for |
I'm using Jackson (2.9.7) through Spring's RestTemplate:
When
Void
is used to indicate that the ResponseEntity has no body, the following warning appears in the console:The problem disappears if
String
is used as generic type.The text was updated successfully, but these errors were encountered: