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

fix: avoid private field/class access from Gson #427

Merged
merged 1 commit into from
May 6, 2021

Conversation

yury-s
Copy link
Member

@yury-s yury-s commented May 6, 2021

  • Use new ArrayList<> instead of Collections.emptyList() which is implemented as a private class
  • Use custom serializer for Optional class to avoid access to its private field
  • Use custom serializer for Path class to avoid access to its implementation which private to JDK

Fixes #423

@yury-s yury-s merged commit d24eba7 into microsoft:master May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Java 16 incompatibility due to usage of internal APIs
1 participant