-
Notifications
You must be signed in to change notification settings - Fork 439
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: drop reflective access warnings to java.time.* classes (#596)
Java module system gives warnings on reflective access to java.time.* private fields, which are performed by Jackson when using TwilioRestClient. Jackson provides a `JavaTimeModule` which configures an ObjectMapper to use public methods instead of reflective access to private fields in classes in java.time. This PR adds the dependency for `JavaTimeModule` and adds it to the ObjectMapper created by `TwilioRestClient`, which removes all the warnings that I have seen.
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters