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

Throw exception when serializing or deserializing anonymous or local classes #2189

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Sep 2, 2022

  1. Throw exception when serializing or deserializing anonymous or local …

    …classes
    
    Backward incompatible changes:
    - Previously Gson did not throw an exception but simply used null; this was
      pretty error-prone and difficult to debug for users
    - Previously Gson ignored whether the type had a custom adapter registered;
      now Gson only throws an exception when no adapter has been registered and
      reflection would be used
    Marcono1234 committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    f959dec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    044be42 View commit details
    Browse the repository at this point in the history